Class: Classifile::MoveFile
- Defined in:
- lib/classifile/result/move_file.rb
Overview
Source and destination classes for file
Instance Attribute Summary collapse
-
#to ⇒ Object
Returns the value of attribute to.
Attributes inherited from Result
Instance Method Summary collapse
-
#initialize(from, to) ⇒ MoveFile
constructor
A new instance of MoveFile.
Constructor Details
#initialize(from, to) ⇒ MoveFile
Returns a new instance of MoveFile.
9 10 11 12 |
# File 'lib/classifile/result/move_file.rb', line 9 def initialize(from, to) @to = to super from end |
Instance Attribute Details
#to ⇒ Object
Returns the value of attribute to.
7 8 9 |
# File 'lib/classifile/result/move_file.rb', line 7 def to @to end |