Class: Sashimi::Commands::Add
- Inherits:
-
Object
- Object
- Sashimi::Commands::Add
- Defined in:
- lib/sashimi/commands.rb
Instance Method Summary collapse
-
#initialize(base_command) ⇒ Add
constructor
A new instance of Add.
- #options ⇒ Object
- #parse!(args) ⇒ Object
Constructor Details
#initialize(base_command) ⇒ Add
Returns a new instance of Add.
191 192 193 |
# File 'lib/sashimi/commands.rb', line 191 def initialize(base_command) @base_command = base_command end |
Instance Method Details
#options ⇒ Object
195 196 197 198 199 200 201 |
# File 'lib/sashimi/commands.rb', line 195 def OptionParser.new do |o| o.set_summary_indent(' ') o. = "Usage: #{@base_command.script_name} add PLUGIN" o.define_head "Add installed plugin(s) to a Rails app." end end |