Module: GGem::CLI::ValidCommand::InstanceMethods

Defined in:
lib/ggem/cli/commands.rb

Instance Method Summary collapse

Instance Method Details

#clirbObject



49
# File 'lib/ggem/cli/commands.rb', line 49

def clirb; @clirb; end

#initialize(&clirb_build) ⇒ Object



45
46
47
# File 'lib/ggem/cli/commands.rb', line 45

def initialize(&clirb_build)
  @clirb = CLIRB.new(&clirb_build)
end

#run(argv, stdout = nil, stderr = nil) ⇒ Object



51
52
53
54
55
# File 'lib/ggem/cli/commands.rb', line 51

def run(argv, stdout = nil, stderr = nil)
  @clirb.parse!(argv)
  @stdout = stdout || $stdout
  @stderr = stderr || $stderr
end

#summaryObject



57
58
59
# File 'lib/ggem/cli/commands.rb', line 57

def summary
  ''
end