Module: JSON::Pure::Generator::GeneratorMethods::TrueClass

Defined in:
lib/vendor/json_pure/lib/json/pure/generator.rb

Instance Method Summary collapse

Instance Method Details

#to_jsonObject

Returns a JSON string for true: ‘true’.



437
# File 'lib/vendor/json_pure/lib/json/pure/generator.rb', line 437

def to_json(*) 'true' end