Module: Canned::Context::Matchers::That

Included in:
Actor, Resource
Defined in:
lib/canned/context/matchers/that.rb

Instance Method Summary collapse

Instance Method Details

#that(&_block) ⇒ Object



6
7
8
9
10
# File 'lib/canned/context/matchers/that.rb', line 6

def that(&_block)
  if _block
    instance_eval &_block
  else self end
end

#that_all(&_block) ⇒ Object



12
13
14
# File 'lib/canned/context/matchers/that.rb', line 12

def that_all(&_block)
  # TODO
end

#that_any(&_block) ⇒ Object



16
17
18
# File 'lib/canned/context/matchers/that.rb', line 16

def that_any(&_block)
  # TODO
end