Module: Duby::AST::Literal
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.
121 122 123 |
# File 'lib/duby/ast.rb', line 121 def literal @literal end |
Instance Method Details
#to_s ⇒ Object
123 124 125 |
# File 'lib/duby/ast.rb', line 123 def to_s "#{super}(#{literal.inspect})" end |