Class: RoCommands::Rubymine

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

#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