Class: Veto::IfConditions
- Inherits:
-
Conditions
- Object
- Condition
- Conditions
- Veto::IfConditions
- Defined in:
- lib/veto/conditions/if_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/if_conditions.rb', line 3 def pass?(*args) conditions.each {|c| return(false) unless c.pass?(*args) } true end |