module GGem::CLI::ValidCommand

Public Class Methods

new(&clirb_build) click to toggle source
# File lib/ggem/cli/commands.rb, line 42
def initialize(&clirb_build)
  @clirb = CLIRB.new(&clirb_build)
end

Public Instance Methods

clirb() click to toggle source
# File lib/ggem/cli/commands.rb, line 46
def clirb
  @clirb
end
run(argv, stdout = nil, stderr = nil) click to toggle source
# File lib/ggem/cli/commands.rb, line 50
def run(argv, stdout = nil, stderr = nil)
  @clirb.parse!(argv)
  @stdout = stdout || $stdout
  @stderr = stderr || $stderr
end
summary() click to toggle source
# File lib/ggem/cli/commands.rb, line 56
def summary
  ""
end