Class: Dri::Commands::Fetch

Inherits:
Thor
  • Object
show all
Defined in:
lib/dri/commands/fetch.rb,
lib/dri/commands/fetch/failures.rb,
lib/dri/commands/fetch/testcases.rb

Defined Under Namespace

Classes: Failures, Testcases

Instance Method Summary collapse

Instance Method Details

#failuresObject



27
28
29
30
31
32
33
34
# File 'lib/dri/commands/fetch.rb', line 27

def failures(*)
  if options[:help]
    invoke :help, ['failures']
  else
    require_relative 'fetch/failures'
    Dri::Commands::Fetch::Failures.new(options).execute
  end
end

#testcasesObject



15
16
17
18
19
20
21
22
# File 'lib/dri/commands/fetch.rb', line 15

def testcases(*)
  if options[:help]
    invoke :help, ['testcases']
  else
    require_relative 'fetch/testcases'
    Dri::Commands::Fetch::Testcases.new(options).execute
  end
end