class TestJSONEncoding::HashWithAsJson
Attributes
as_json_called[RW]
Public Class Methods
new(*)
click to toggle source
Calls superclass method
Object::new
# File activesupport/test/json/encoding_test.rb, line 342 def initialize(*) super end
Public Instance Methods
as_json(options = {})
click to toggle source
Calls superclass method
# File activesupport/test/json/encoding_test.rb, line 346 def as_json(options = {}) @as_json_called = true super end