Module: Duby::AST::Literal
- Includes:
- Typed
- Defined in:
- lib/duby/ast.rb
Instance Attribute Summary collapse
-
#literal ⇒ Object
Returns the value of attribute literal.
Attributes included from Typed
Instance Method Summary collapse
Instance Attribute Details
#literal ⇒ Object
Returns the value of attribute literal.
198 199 200 |
# File 'lib/duby/ast.rb', line 198 def literal @literal end |
Instance Method Details
#to_s ⇒ Object
200 201 202 |
# File 'lib/duby/ast.rb', line 200 def to_s "#{super}(#{literal.inspect})" end |