Class: Rails::Generators::FrillGenerator

Inherits:
NamedBase
  • Object
show all
Defined in:
lib/generators/frill/frill_generator.rb

Instance Method Summary collapse

Instance Method Details

#create_frill_fileObject



8
9
10
# File 'lib/generators/frill/frill_generator.rb', line 8

def create_frill_file
  template 'frill.rb', File.join('app/frills/', class_path, "#{file_name}_frill.rb")
end