Class: Bootswatch::Generators::ThemedGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/bootswatch/themed/themed_generator.rb

Instance Method Summary collapse

Constructor Details

#initialize(args, *options) ⇒ ThemedGenerator

Returns a new instance of ThemedGenerator.



13
14
15
16
# File 'lib/generators/bootswatch/themed/themed_generator.rb', line 13

def initialize(args, *options)
  super(args, *options)
  initialize_views_variables
end

Instance Method Details

#copy_viewsObject



18
19
20
# File 'lib/generators/bootswatch/themed/themed_generator.rb', line 18

def copy_views
  generate_views
end