Method: Jiragit::Cli#configure
- Defined in:
- lib/jiragit/cli.rb
#configure ⇒ Object
120 121 122 123 124 125 126 127 |
# File 'lib/jiragit/cli.rb', line 120 def configure if @params.size!=2 || @params.first.empty? || @params.last.empty? warn "Please provide parameter and value" return end @config[@params.first.to_sym] = @params.last puts "Setting #{@params.first.to_sym} to #{@params.last}" end |