Module: Gitlab::QA::Scenario::Actable::ClassMethods

Defined in:
lib/gitlab/qa/scenario/actable.rb

Instance Method Summary collapse

Instance Method Details

#act(*args, &block) ⇒ Object



18
19
20
# File 'lib/gitlab/qa/scenario/actable.rb', line 18

def act(*args, &block)
  new.act(*args, &block)
end

#perform {|new| ... } ⇒ Object

Yields:

  • (new)


14
15
16
# File 'lib/gitlab/qa/scenario/actable.rb', line 14

def perform
  yield new if block_given?
end