Files
codeocean/config/initializers/monkey_patches.rb

8 lines
94 B
Ruby

unless Array.respond_to?(:to_h)
class Array
def to_h
Hash[self]
end
end
end