Class: TC_JSONRails::D
- Defined in:
- lib/crazy_ivan/vendor/json-1.1.7/tests/test_json_rails.rb
Instance Attribute Summary collapse
-
#foo ⇒ Object
readonly
Returns the value of attribute foo.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize ⇒ D
constructor
A new instance of D.
Constructor Details
#initialize ⇒ D
Returns a new instance of D.
60 61 62 |
# File 'lib/crazy_ivan/vendor/json-1.1.7/tests/test_json_rails.rb', line 60 def initialize @foo = 666 end |
Instance Attribute Details
#foo ⇒ Object (readonly)
Returns the value of attribute foo.
64 65 66 |
# File 'lib/crazy_ivan/vendor/json-1.1.7/tests/test_json_rails.rb', line 64 def foo @foo end |
Instance Method Details
#==(other) ⇒ Object
66 67 68 |
# File 'lib/crazy_ivan/vendor/json-1.1.7/tests/test_json_rails.rb', line 66 def ==(other) foo == other.foo end |