Module: JSON::Pure::Generator::GeneratorMethods::TrueClass
- Defined in:
- lib/json/pure/generator.rb
Instance Method Summary collapse
-
#to_json ⇒ Object
Returns a JSON string for true: ‘true’.
Instance Method Details
#to_json ⇒ Object
Returns a JSON string for true: ‘true’.
565 |
# File 'lib/json/pure/generator.rb', line 565 def to_json(*) 'true' end |