class JSONTest::Custom

Public Class Methods

new(serialized) click to toggle source
# File activesupport/test/json/encoding_test_cases.rb, line 23
def initialize(serialized)
  @serialized = serialized
end

Public Instance Methods

as_json(options = nil) click to toggle source
# File activesupport/test/json/encoding_test_cases.rb, line 27
def as_json(options = nil)
  @serialized
end