class JSONTest::Hashlike

Public Instance Methods

to_hash() click to toggle source
# File activesupport/test/json/encoding_test_cases.rb, line 17
def to_hash
  { foo: "hello", bar: "world" }
end