Module: Ardb::CLI::ValidCommand::InstanceMethods

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

Instance Method Summary collapse

Instance Method Details

#clirbObject



50
# File 'lib/ardb/cli/commands.rb', line 50

def clirb; @clirb; end

#initialize(&clirb_build) ⇒ Object



46
47
48
# File 'lib/ardb/cli/commands.rb', line 46

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

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



52
53
54
55
56
# File 'lib/ardb/cli/commands.rb', line 52

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

#summaryObject



58
59
60
# File 'lib/ardb/cli/commands.rb', line 58

def summary
  ''
end