Class: Dang::Parser::Literal
- Inherits:
-
Object
- Object
- Dang::Parser::Literal
- Defined in:
- lib/dang/parser.rb
Instance Attribute Summary collapse
-
#str ⇒ Object
readonly
Returns the value of attribute str.
Instance Method Summary collapse
-
#initialize(str) ⇒ Literal
constructor
A new instance of Literal.
Constructor Details
#initialize(str) ⇒ Literal
Returns a new instance of Literal.
482 483 484 |
# File 'lib/dang/parser.rb', line 482 def initialize(str) @str = str end |
Instance Attribute Details
#str ⇒ Object (readonly)
Returns the value of attribute str.
486 487 488 |
# File 'lib/dang/parser.rb', line 486 def str @str end |