class NormalizerGenerator

Public Instance Methods

create_normalizer_file() click to toggle source
# File lib/generators/normalizer_generator.rb, line 4
def create_normalizer_file
  template 'normalizer.rb', File.join('app/normalizers',
                                      class_path,
                                      "#{file_name}_normalizer.rb")
end