Module: JSON::Pure::Generator::GeneratorMethods::NilClass
- Defined in:
- lib/gistto/enhancements/json.rb
Instance Method Summary collapse
-
#to_json ⇒ Object
Returns a JSON string for nil: ‘null’.
Instance Method Details
#to_json ⇒ Object
Returns a JSON string for nil: ‘null’.
827 |
# File 'lib/gistto/enhancements/json.rb', line 827 def to_json(*) 'null' end |