class Cliches::NewGenerator

Public Instance Methods

create_cliche() click to toggle source
# File lib/generators/cliches/new_generator.rb, line 11
def create_cliche
  template 'new_cliche.rb', File.join(Rails.configuration.cliches.directory, "#{file_name}.rb")
end