Class: Rundoc::CodeCommand::PrintTextArgs
- Inherits:
-
Object
- Object
- Rundoc::CodeCommand::PrintTextArgs
- Defined in:
- lib/rundoc/code_command/print/text.rb
Instance Attribute Summary collapse
-
#line ⇒ Object
readonly
Returns the value of attribute line.
Instance Method Summary collapse
-
#initialize(line = nil) ⇒ PrintTextArgs
constructor
A new instance of PrintTextArgs.
Constructor Details
#initialize(line = nil) ⇒ PrintTextArgs
Returns a new instance of PrintTextArgs.
7 8 9 |
# File 'lib/rundoc/code_command/print/text.rb', line 7 def initialize(line = nil) @line = line end |
Instance Attribute Details
#line ⇒ Object (readonly)
Returns the value of attribute line.
5 6 7 |
# File 'lib/rundoc/code_command/print/text.rb', line 5 def line @line end |