Class: Generators::Avo::ScopeGenerator

Inherits:
NamedBaseGenerator show all
Defined in:
lib/generators/avo/scope_generator.rb

Instance Method Summary collapse

Methods inherited from NamedBaseGenerator

#initialize

Constructor Details

This class inherits a constructor from Generators::Avo::NamedBaseGenerator

Instance Method Details

#createObject



10
11
12
# File 'lib/generators/avo/scope_generator.rb', line 10

def create
  template "scope.tt", "app/avo/scopes/#{singular_name}.rb"
end