Module: Kiba::Extend::Jobs::ShowMeJob
- Defined in:
- lib/kiba/extend/jobs/show_me_job.rb
Overview
Note:
Using settings/command line parameter to set :show_me
to true will print the final
result of the job to STDOUT. If you need to see the result at some specific point in your
chain of transformations, you need to add the two lines in the show
job_segment
below
to your transforms where you want the display to happen
Mixin to activate Common::DSLExtensions::ShowMe
Instance Method Summary collapse
Instance Method Details
#decorate ⇒ Object
17 18 19 |
# File 'lib/kiba/extend/jobs/show_me_job.rb', line 17 def decorate parse_job(control, context, [show]) end |
#show ⇒ Object
21 22 23 24 25 26 |
# File 'lib/kiba/extend/jobs/show_me_job.rb', line 21 def show Kiba.job_segment do extend Kiba::Common::DSLExtensions::ShowMe show_me! end end |