Class: Titler::Generators::LocalesGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Titler::Generators::LocalesGenerator
- Defined in:
- lib/generators/titler/locales/locales_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_locales ⇒ Object
8 9 10 11 12 |
# File 'lib/generators/titler/locales/locales_generator.rb', line 8 def create_locales locales.each do |locale| copy_file locale end end |