Class: Chamber::Commands::Heroku::Clear
- Includes:
- Chamber::Commands::Heroku
- Defined in:
- lib/chamber/commands/heroku/clear.rb
Instance Method Summary collapse
Methods included from Chamber::Commands::Heroku
Methods inherited from Base
Instance Method Details
#call ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/chamber/commands/heroku/clear.rb', line 10 def call chamber.to_environment.keys.each do |key| next unless configuration.match(key) if dry_run shell.say_status 'remove', key, :blue else shell.say_status 'remove', key, :green shell.say heroku("config:unset #{key}") end end end |