Class: FalseClass

Inherits:
Object
  • Object
show all
Defined in:
lib/boolean.rb

Instance Method Summary collapse

Instance Method Details

#to_j(indent = 0) ⇒ String

Adds formatted json convertion

Returns:

  • (String)

    Json for the String, which is quoted self.



14
15
16
# File 'lib/boolean.rb', line 14

def to_j(indent = 0)
  '  ' * indent + 'false'
end