Class: Rundoc::CodeCommand::WriteArgs
- Inherits:
-
Object
- Object
- Rundoc::CodeCommand::WriteArgs
- Defined in:
- lib/rundoc/code_command/write.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path) ⇒ WriteArgs
constructor
A new instance of WriteArgs.
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
#path ⇒ Object (readonly)
Returns the value of attribute path.
21 22 23 |
# File 'lib/rundoc/code_command/write.rb', line 21 def path @path end |