Class: RubyJsonParser::AST::NullLiteralNode
- Defined in:
- lib/ruby_json_parser/ast.rb
Overview
Represents a true literal eg. ‘null`
Instance Method Summary collapse
Instance Method Details
#==(other) ⇒ Object
95 96 97 |
# File 'lib/ruby_json_parser/ast.rb', line 95 def ==(other) other.is_a?(NullLiteralNode) end |
#inspect(indent = 0) ⇒ Object
105 106 107 |
# File 'lib/ruby_json_parser/ast.rb', line 105 def inspect(indent = 0) "#{INDENT_UNIT * indent}null" end |
#to_s ⇒ Object
100 101 102 |
# File 'lib/ruby_json_parser/ast.rb', line 100 def to_s 'null' end |