Class: RbEAI::PutFileLogic
- Inherits:
-
Object
- Object
- RbEAI::PutFileLogic
- Defined in:
- lib/rbeai/PutLogic.rb
Instance Method Summary collapse
-
#initialize(task) ⇒ PutFileLogic
constructor
A new instance of PutFileLogic.
- #putFile(obj) ⇒ Object
Constructor Details
#initialize(task) ⇒ PutFileLogic
Returns a new instance of PutFileLogic.
32 33 34 35 |
# File 'lib/rbeai/PutLogic.rb', line 32 def initialize(task) @task = task @location = task.location end |
Instance Method Details
#putFile(obj) ⇒ Object
37 38 39 |
# File 'lib/rbeai/PutLogic.rb', line 37 def putFile(obj) rio("#{obj}") > rio("#{@location}") end |