Class: Graphgraph::Generators::ViewsGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Graphgraph::Generators::ViewsGenerator
- Defined in:
- lib/generators/graphgraph/views_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_views ⇒ Object
10 11 12 |
# File 'lib/generators/graphgraph/views_generator.rb', line 10 def copy_views directory "graphgraphs","app/views/#{scope || 'graphgraph'}/graphgraphs/" end |