Class: Gitlab::QA::Scenario::Template

Inherits:
Object
  • Object
show all
Defined in:
lib/gitlab/qa/scenario/template.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.perform(*args) ⇒ Object



5
6
7
8
9
10
# File 'lib/gitlab/qa/scenario/template.rb', line 5

def self.perform(*args)
  new.tap do |scenario|
    yield scenario if block_given?
    return scenario.perform(*args)
  end
end

Instance Method Details

#perform(*_args) ⇒ Object

Raises:

  • (NotImplementedError)


12
13
14
# File 'lib/gitlab/qa/scenario/template.rb', line 12

def perform(*_args)
  raise NotImplementedError
end