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.
490 491 492 493 |
# File 'lib/dang/parser.rb', line 490 def initialize(str, print) @str = str @print = print end |
Instance Attribute Details
#print ⇒ Object (readonly)
Returns the value of attribute print.
495 496 497 |
# File 'lib/dang/parser.rb', line 495 def print @print end |
#str ⇒ Object (readonly)
Returns the value of attribute str.
495 496 497 |
# File 'lib/dang/parser.rb', line 495 def str @str end |