Class: MarshalParser::Parser::TrueNode
- Defined in:
- lib/marshal-parser/parser.rb
Instance Method Summary collapse
- #always_leaf? ⇒ Boolean
- #child_entities ⇒ Object
-
#initialize(token) ⇒ TrueNode
constructor
A new instance of TrueNode.
Methods inherited from Node
#attributes, #children, #decoded_value, #literal_token, #tokens
Methods included from Assertable
Constructor Details
Instance Method Details
#always_leaf? ⇒ Boolean
434 435 436 |
# File 'lib/marshal-parser/parser.rb', line 434 def always_leaf? true end |
#child_entities ⇒ Object
430 431 432 |
# File 'lib/marshal-parser/parser.rb', line 430 def child_entities [@token] end |