Class: Reap::Noop
Overview
Noop Task
This task doesn’t do anything except display a message. It is used simply for test purposes when debugging Reap.
Constant Summary
Constants inherited from Task
Instance Method Summary collapse
Methods inherited from Task
#ask, #execute, inherited, #initialize, #initiate, master, #master, #provide_setup_rb, #section, section_required, section_required?, #section_required?, #sh, #task, task_attr, #task_desc, task_desc, #task_help, task_help, task_list, #task_name, task_name, #tell, #use_subsection, verify?
Constructor Details
This class inherits a constructor from Reap::Task
Instance Method Details
#run ⇒ Object
20 21 22 |
# File 'lib/reap/task/noop.rb', line 20 def run puts ( msg. || 'No message field in noop section.' ) end |