Class: Classifile::MoveFile

Inherits:
Result
  • Object
show all
Defined in:
lib/classifile/result/move_file.rb

Overview

Source and destination classes for file

Instance Attribute Summary collapse

Attributes inherited from Result

#after_save_procs, #from

Instance Method Summary collapse

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

#toObject

Returns the value of attribute to.



7
8
9
# File 'lib/classifile/result/move_file.rb', line 7

def to
  @to
end