class TC_JSONRails::A
def self.json_create(object)
def self.json_create(object) new(*object['args']) end
def self.json_create(object)
def self.json_create(object) new(*object['args']) end
def ==(other)
def ==(other) a == other.a end
def ==(other)
def ==(other) a == other.a end
def initialize(a)
def initialize(a) @a = a end
def initialize(a)
def initialize(a) @a = a end
def to_json(*args)
def to_json(*args) { 'json_class' => self.class.name, 'args' => [ @a ], }.to_json(*args) end
def to_json(*args)
def to_json(*args) { 'json_class' => self.class.name, 'args' => [ @a ], }.to_json(*args) end