Class: Haml::Generators::Locale

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/haml/locale/locale_generator.rb

Instance Method Summary collapse

Instance Method Details

#generate_localeObject



8
9
10
# File 'lib/generators/haml/locale/locale_generator.rb', line 8

def generate_locale
  copy_file "en.yml", File.join("config/locales", "en.yml")
end