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

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

Instance Method Summary collapse

Instance Method Details

#actObject



20
21
22
# File 'lib/gitlab/qa/scenario/actable.rb', line 20

def act(...)
  new.act(...)
end

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

Yields:

  • (new)


16
17
18
# File 'lib/gitlab/qa/scenario/actable.rb', line 16

def perform
  yield new if block_given?
end