Module: Boolean

Defined in:
lib/moon/packages/micro_json/core_ext/boolean.rb

Instance Method Summary collapse

Instance Method Details

#to_jsonString

Dumps the Boolean as a JSON string.

Returns:


5
6
7
# File 'lib/moon/packages/micro_json/core_ext/boolean.rb', line 5

def to_json
  JSON.dump(self)
end