Class: TC_JSONRails::D

Inherits:
Object show all
Defined in:
lib/vendor/json_pure/tests/test_json_rails.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeD

Returns a new instance of D.



60
61
62
# File 'lib/vendor/json_pure/tests/test_json_rails.rb', line 60

def initialize
  @foo = 666
end

Instance Attribute Details

#fooObject (readonly)

Returns the value of attribute foo.



64
65
66
# File 'lib/vendor/json_pure/tests/test_json_rails.rb', line 64

def foo
  @foo
end

Instance Method Details

#==(other) ⇒ Object



66
67
68
# File 'lib/vendor/json_pure/tests/test_json_rails.rb', line 66

def ==(other)
  foo == other.foo
end