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



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

def act(*args, &block)
  new.act(*args, &block)
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