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.
453 454 455 |
# File 'lib/dang/parser.rb', line 453 def initialize(str) @str = str end |
Instance Attribute Details
#str ⇒ Object (readonly)
Returns the value of attribute str.
457 458 459 |
# File 'lib/dang/parser.rb', line 457 def str @str end |