Class: Veto::UnlessConditions
- Inherits:
-
Conditions
- Object
- Condition
- Conditions
- Veto::UnlessConditions
- Defined in:
- lib/veto/conditions/unless_conditions.rb
Instance Method Summary collapse
Methods inherited from Conditions
Constructor Details
This class inherits a constructor from Veto::Conditions
Instance Method Details
#pass?(*args) ⇒ Boolean
3 4 5 6 |
# File 'lib/veto/conditions/unless_conditions.rb', line 3 def pass?(*args) conditions.each {|c| return(false) if c.pass?(*args) } true end |