Class: RoCommands::Shortcuts

Inherits:
Base
  • Object
show all
Defined in:
lib/ro_commands/shortcuts.rb

Instance Method Summary collapse

Methods inherited from Base

describe, method_added, meths, start, usage

Methods included from Bash

#_bash, #bash, #bash_lines, #bash_per, #bashc, err, #handle_path, out, status

Instance Method Details

#lib_specObject



33
34
35
36
37
38
39
# File 'lib/ro_commands/shortcuts.rb', line 33

def lib_spec
  hide_guake
  push_to_opposite
  next_splitter
  sleep 0.1
  switch_btw_lib_and_spec
end

#open_ro_commandsObject



45
46
47
# File 'lib/ro_commands/shortcuts.rb', line 45

def open_ro_commands
  open_project("ro_commands")
end

#open_ro_supportObject



51
52
53
# File 'lib/ro_commands/shortcuts.rb', line 51

def open_ro_support
  open_project("ro_support")
end

#workObject



24
25
26
27
28
29
# File 'lib/ro_commands/shortcuts.rb', line 24

def work
  action("zeus start")
  bx "rake sunspot:solr:run"
  bx "spork"
  bx "guard"
end