Class: RoCommands::Generate

Inherits:
Base show all
Includes:
Generators
Defined in:
lib/ro_commands/generate.rb

Instance Method Summary collapse

Methods inherited from Base

describe, inherited, method_added, meths, start, usage

Methods included from Bash

#_bash, #add_time, #bash, #bash_capture, #bash_capture_array, #bash_lines, #bash_per, #bash_system, #bundle_exec, #err, err, #handle_path, #kernel_system, out, #out, #status, status

Instance Method Details

#exObject



24
25
26
27
# File 'lib/ro_commands/generate.rb', line 24

def ex
  Ex.create
  Ex.open
end

#rails_new_app(name) ⇒ Object



40
41
42
# File 'lib/ro_commands/generate.rb', line 40

def rails_new_app(name)
  RailsNewApp.create(name)
end

#spec_file(name) ⇒ Object



31
32
33
34
35
36
# File 'lib/ro_commands/generate.rb', line 31

def spec_file(name)
  Shortcuts.new.send(:hide_guake)
  Shortcuts.new.send(:next_splitter)
  SpecFile.create(name)
  SpecFile.open
end