Class: RoCommands::Generators::Rodebug

Inherits:
Object
  • Object
show all
Includes:
RailsGenerator
Defined in:
lib/ro_commands/generators/rodebug.rb

Class Method Summary collapse

Methods included from RailsGenerator

included

Class Method Details

.createObject



8
9
10
11
12
13
14
15
# File 'lib/ro_commands/generators/rodebug.rb', line 8

def create
  if Dir.exist?("app")
    bash "rails g controller rodebug start -f"
  end

  super if defined? super
  add_route
end