Class: Rundoc::CodeCommand::PrintTextArgs

Inherits:
Object
  • Object
show all
Defined in:
lib/rundoc/code_command/print/text.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#lineObject (readonly)

Returns the value of attribute line.



5
6
7
# File 'lib/rundoc/code_command/print/text.rb', line 5

def line
  @line
end