Module: Nib::Options::Augmenter
- Defined in:
- lib/nib/options/augmenter.rb
Class Method Summary collapse
Class Method Details
.augment(command) ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/nib/options/augmenter.rb', line 4 def augment(command) Nib::Options.(:commands, command.name).each do |option| command.send( option[:type], option[:names], option[:options] ) end end |