transferred Code Ocean from original repository to GitHub
This commit is contained in:
7
config/initializers/monkey_patches.rb
Normal file
7
config/initializers/monkey_patches.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
unless Array.respond_to?(:to_h)
|
||||
class Array
|
||||
def to_h
|
||||
Hash[self]
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user