Class: TavernaPlayer::Generators::ModelsGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- TavernaPlayer::Generators::ModelsGenerator
- Defined in:
- lib/generators/taverna_player/models_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_models ⇒ Object
21 22 23 24 25 |
# File 'lib/generators/taverna_player/models_generator.rb', line 21 def copy_models %w(run run_port workflow).each do |file| copy_file "#{file}.rb", "app/models/taverna_player/#{file}.rb" end end |