Class: TJSON::DataType::Scalar
- Inherits:
-
TJSON::DataType
- Object
- TJSON::DataType
- TJSON::DataType::Scalar
- Defined in:
- lib/tjson/datatype.rb
Overview
Scalar types
Constant Summary
Constants inherited from TJSON::DataType
Instance Method Summary collapse
Methods inherited from TJSON::DataType
[], generate, identify_type, parse
Instance Method Details
#inspect ⇒ Object
51 52 53 |
# File 'lib/tjson/datatype.rb', line 51 def inspect "#<#{self.class}>" end |
#scalar? ⇒ Boolean
47 48 49 |
# File 'lib/tjson/datatype.rb', line 47 def scalar? true end |