Class: RoCommands::Rubymine

Inherits:
Base show all
Defined in:
lib/ro_commands/rubymine.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

#open(project_name = '.') ⇒ Object



4
5
6
7
# File 'lib/ro_commands/rubymine.rb', line 4

def open(project_name = '.')
  puts "opening #{project_name}"
  bash "rubymine #{project_name}"
end

#open_multi_projects(*project_names) ⇒ Object



10
11
12
13
14
# File 'lib/ro_commands/rubymine.rb', line 10

def open_multi_projects(*project_names)
  project_names.each do |name|
    open(name)
  end
end