Method: Runfile::Action#initialize
- Defined in:
- lib/runfile/action.rb
#initialize(block, usage, help) ⇒ Action
Returns a new instance of Action.
10 11 12 13 14 |
# File 'lib/runfile/action.rb', line 10 def initialize(block, usage, help) @usage = usage @help = help @block = block end |