Sha256: 1ba64c356b4f39b6b37346bc63b4b1eb372b7d4feb58b9a3a0e959bd85a6fad7

Contents?: true

Size: 376 Bytes

Versions: 4

Compression:

Stored size: 376 Bytes

Contents

module RoCommands
  class Rubymine < Base
    desc 'open', 'open one project'
    def open(project_name = '.')
      puts "opening #{project_name}"
      bash "rubymine #{project_name}"
    end

    desc 'open_multi_projects', 'open multi projects'
    def open_multi_projects(*project_names)
      project_names.each do |name|
        open(name)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ro_commands-0.0.4 lib/ro_commands/rubymine.rb
ro_commands-0.0.3 lib/ro_commands/rubymine.rb
ro_commands-0.0.2 lib/ro_commands/rubymine.rb
ro_commands-0.0.1 lib/ro_commands/rubymine.rb