class Wxp::Command::Op::Gems

Public Class Methods

new(argv) click to toggle source
Calls superclass method Wxp::Command::new
# File lib/wxp/command/op/gems.rb, line 14
def initialize(argv)
  super
end

Public Instance Methods

openGems() click to toggle source
# File lib/wxp/command/op/gems.rb, line 26
def openGems
  puts 'gem路径为:/Library/Ruby/Gems/'.green
  system 'open /Library/Ruby/Gems/'
end
run() click to toggle source
# File lib/wxp/command/op/gems.rb, line 22
def run
  openGems
end
validate!() click to toggle source
Calls superclass method
# File lib/wxp/command/op/gems.rb, line 18
def validate!
  super
end