Class: RoCommands::RailsShortcuts

Inherits:
Shortcuts
  • Object
show all
Defined in:
lib/ro_commands/rails_shortcuts.rb

Instance Method Summary collapse

Instance Method Details

#open_file(file) ⇒ Object



6
7
8
# File 'lib/ro_commands/rails_shortcuts.rb', line 6

def open_file(file)
  bash "#{Rrjj.default_editor} #{file}"
end

#work(*args) ⇒ Object



11
12
13
14
15
16
# File 'lib/ro_commands/rails_shortcuts.rb', line 11

def work(*args)
  bx "zeus start"
  bx 'rails s'
	bx "guard -P livereload"
  bx "guard -P rspec"
end