Class: SkAddGenerator
- Inherits:
-
Rails::Generator::NamedBase
- Object
- Rails::Generator::NamedBase
- SkAddGenerator
- Defined in:
- lib/generators/sk/add_generator.rb
Instance Method Summary collapse
Instance Method Details
#manifest ⇒ Object
21 22 23 24 25 26 |
# File 'lib/generators/sk/add_generator.rb', line 21 def manifest record do |m| m.template "consumer.rb", "app/workers/sk_#{file_path}.rb" m.template "spec.rb", "spec/workers/sk_#{file_path}_spec.rb" end end |