Class: PhilColumns::Command::Generate::Seed
- Inherits:
-
PhilColumns::Command::Generator
- Object
- Base
- PhilColumns::Command::Generator
- PhilColumns::Command::Generate::Seed
- Defined in:
- lib/phil_columns/command/generate/seed.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
10 11 12 13 14 |
# File 'lib/phil_columns/command/generate/seed.rb', line 10 def execute write "Generating seed #{seed_filepath} ... " erb_template_to_file( template_filepath, seed_filepath, class_name: seed_class_name ) say_ok end |