Method: Rzo::App::Subcommand#initialize
- Defined in:
- lib/rzo/app/subcommand.rb
#initialize(opts = {}, stdout = $stdout, stderr = $stderr) ⇒ Subcommand
Initialize a subcommand with options injected by the application controller.
controller.
41 42 43 44 45 46 47 |
# File 'lib/rzo/app/subcommand.rb', line 41 def initialize(opts = {}, stdout = $stdout, stderr = $stderr) @opts = opts @stdout = stdout @stderr = stderr reset_logging!(opts) @pwd = Dir.pwd end |