Class: Dang::Parser::Code
- Inherits:
-
Object
- Object
- Dang::Parser::Code
- Defined in:
- lib/dang/parser.rb
Instance Attribute Summary collapse
-
#print ⇒ Object
readonly
Returns the value of attribute print.
-
#str ⇒ Object
readonly
Returns the value of attribute str.
Instance Method Summary collapse
-
#initialize(str, print) ⇒ Code
constructor
A new instance of Code.
Constructor Details
#initialize(str, print) ⇒ Code
Returns a new instance of Code.
461 462 463 464 |
# File 'lib/dang/parser.rb', line 461 def initialize(str, print) @str = str @print = print end |
Instance Attribute Details
#print ⇒ Object (readonly)
Returns the value of attribute print.
466 467 468 |
# File 'lib/dang/parser.rb', line 466 def print @print end |
#str ⇒ Object (readonly)
Returns the value of attribute str.
466 467 468 |
# File 'lib/dang/parser.rb', line 466 def str @str end |