Method: VV::ObjectMethods#within

Defined in:
lib/vv/object_methods.rb

#within(potential_enum) ⇒ Object



46
47
48
49
50
51
52
53
# File 'lib/vv/object_methods.rb', line 46

def within potential_enum
  return if self._consideration_dismissed?

  return unless potential_enum.include? self._consideration
  response = yield
  self._dismiss_consideration
  response
end