Class: Generators::Avo::ScopeGenerator
- Inherits:
-
NamedBaseGenerator
- Object
- Rails::Generators::NamedBase
- NamedBaseGenerator
- Generators::Avo::ScopeGenerator
- Defined in:
- lib/generators/avo/scope_generator.rb
Instance Method Summary collapse
Methods inherited from NamedBaseGenerator
Constructor Details
This class inherits a constructor from Generators::Avo::NamedBaseGenerator
Instance Method Details
#create ⇒ Object
10 11 12 |
# File 'lib/generators/avo/scope_generator.rb', line 10 def create template "scope.tt", "app/avo/scopes/#{singular_name}.rb" end |