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

Defined in:
lib/gems/json_pure-1.1.3/lib/json/pure/generator.rb

Instance Method Summary collapse

Instance Method Details

#to_jsonObject

Returns a JSON string for true: ‘true’.



379
# File 'lib/gems/json_pure-1.1.3/lib/json/pure/generator.rb', line 379

def to_json(*) 'true' end