Class: PhilColumns::Command::Mulligan
- Defined in:
- lib/phil_columns/command/mulligan.rb
Instance Method Summary collapse
Methods inherited from Base
Methods included from Output
#confirm, included, #say, #say_error, #say_ok, #say_skipping, #write
Constructor Details
This class inherits a constructor from PhilColumns::Command::Base
Instance Method Details
#execute ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/phil_columns/command/mulligan.rb', line 7 def execute load_environment say( "- DRY RUN -", :yellow ) if dry_run? unless dry_run? migrator.mulligan archivist.clear_seeds end seeder.execute end |