Class: TC_JSONAddition::B
- Defined in:
- lib/crazy_ivan/vendor/json-1.1.7/tests/test_json_addition.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.json_creatable? ⇒ Boolean
40 41 42 |
# File 'lib/crazy_ivan/vendor/json-1.1.7/tests/test_json_addition.rb', line 40 def self.json_creatable? false end |
Instance Method Details
#to_json(*args) ⇒ Object
44 45 46 47 48 |
# File 'lib/crazy_ivan/vendor/json-1.1.7/tests/test_json_addition.rb', line 44 def to_json(*args) { 'json_class' => self.class.name, }.to_json(*args) end |