Class: Jsapi::JSON::Null
Overview
Represents null.
Instance Attribute Summary
Attributes inherited from Value
Instance Method Summary collapse
-
#empty? ⇒ Boolean
Returns allways
true. -
#inspect ⇒ Object
:nodoc:.
-
#null? ⇒ Boolean
Returns allways
true. - #value ⇒ Object
Methods inherited from Value
Constructor Details
This class inherits a constructor from Jsapi::JSON::Value
Instance Method Details
#empty? ⇒ Boolean
Returns allways true.
9 10 11 |
# File 'lib/jsapi/json/null.rb', line 9 def empty? true end |
#inspect ⇒ Object
:nodoc:
13 14 15 |
# File 'lib/jsapi/json/null.rb', line 13 def inspect # :nodoc: "#<#{self.class}>" end |
#null? ⇒ Boolean
Returns allways true.
18 19 20 |
# File 'lib/jsapi/json/null.rb', line 18 def null? true end |
#value ⇒ Object
22 23 24 |
# File 'lib/jsapi/json/null.rb', line 22 def value nil end |