Class: Rundoc::CodeCommand::RundocCommandArgs

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code = "") ⇒ RundocCommandArgs

Returns a new instance of RundocCommandArgs.



8
9
10
# File 'lib/rundoc/code_command/rundoc_command.rb', line 8

def initialize(code = "")
  @code = code
end

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



6
7
8
# File 'lib/rundoc/code_command/rundoc_command.rb', line 6

def code
  @code
end