Class: ThemesForRails::Generators::ThemeGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- ThemesForRails::Generators::ThemeGenerator
- Defined in:
- lib/generators/themes_for_rails/theme_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_theme ⇒ Object
7 8 9 10 |
# File 'lib/generators/themes_for_rails/theme_generator.rb', line 7 def create_theme theme_dir = File.join(ThemesForRails.config.themes_path, name) directory 'theme', theme_dir end |