Class: RailsStuff::Generators::ConcernGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- RailsStuff::Generators::ConcernGenerator
- Defined in:
- lib/rails_stuff/generators/concern/concern_generator.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#create_concern_files ⇒ Object
15 16 17 |
# File 'lib/rails_stuff/generators/concern/concern_generator.rb', line 15 def create_concern_files template 'concern.rb', File.join(base_path, "#{file_path}.rb") end |