Class: Remi::Loader::SubJob
- Inherits:
-
Remi::Loader
- Object
- Remi::Loader
- Remi::Loader::SubJob
- Defined in:
- lib/remi/data_subjects/sub_job.rb
Instance Attribute Summary collapse
-
#data_subject ⇒ Object
Returns the value of attribute data_subject.
-
#sub_job ⇒ Object
Returns the value of attribute sub_job.
Attributes inherited from Remi::Loader
Instance Method Summary collapse
-
#initialize(*args, **kargs, &block) ⇒ SubJob
constructor
A new instance of SubJob.
-
#load(data_frame) ⇒ true
On success.
Constructor Details
#initialize(*args, **kargs, &block) ⇒ SubJob
Returns a new instance of SubJob.
29 30 31 32 |
# File 'lib/remi/data_subjects/sub_job.rb', line 29 def initialize(*args, **kargs, &block) super init_sub_job_loader(*args, **kargs, &block) end |
Instance Attribute Details
#data_subject ⇒ Object
Returns the value of attribute data_subject.
34 35 36 |
# File 'lib/remi/data_subjects/sub_job.rb', line 34 def data_subject @data_subject end |
#sub_job ⇒ Object
Returns the value of attribute sub_job.
34 35 36 |
# File 'lib/remi/data_subjects/sub_job.rb', line 34 def sub_job @sub_job end |
Instance Method Details
#load(data_frame) ⇒ true
Returns On success.
38 39 40 41 |
# File 'lib/remi/data_subjects/sub_job.rb', line 38 def load(data_frame) sub_job.job.send(data_subject).df = data_frame true end |