Class: Atrium::ThemeGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- Atrium::ThemeGenerator
- Defined in:
- lib/generators/atrium/theme/theme_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_theme ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/generators/atrium/theme/theme_generator.rb', line 4 def create_theme # TODO: warning magic string "atrium_themes" to refactor copy_file( 'theme.html.erb', File.join('app/views/layouts/atrium/themes/', "#{file_name}.html.erb") ) end |