Class: Rundoc::CodeCommand::WriteArgs

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ WriteArgs

Returns a new instance of WriteArgs.



23
24
25
# File 'lib/rundoc/code_command/write.rb', line 23

def initialize(path)
  @path = Pathname(path)
end

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



21
22
23
# File 'lib/rundoc/code_command/write.rb', line 21

def path
  @path
end