Class: DocsGenerator

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Defined in:
lib/generators/docs/docs_generator.rb

Instance Method Summary collapse

Instance Method Details

#handle_callObject



4
5
6
7
8
9
10
# File 'lib/generators/docs/docs_generator.rb', line 4

def handle_call
  if ARGV[0] == "install"
    install
  elsif ARGV[0] == "copy_views"
    copy_views
  end
end