Class: Chamber::Commands::Heroku::Pull
- Includes:
- Chamber::Commands::Heroku
- Defined in:
- lib/chamber/commands/heroku/pull.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(options = {}) ⇒ Pull
constructor
A new instance of Pull.
Methods inherited from Base
Constructor Details
#initialize(options = {}) ⇒ Pull
Returns a new instance of Pull.
10 11 12 13 14 |
# File 'lib/chamber/commands/heroku/pull.rb', line 10 def initialize( = {}) super self.target_file = [:into] end |
Instance Method Details
#call ⇒ Object
16 17 18 19 20 21 22 |
# File 'lib/chamber/commands/heroku/pull.rb', line 16 def call if target_file shell.create_file target_file, configuration else configuration end end |