Module: ArelExtensions::BooleanFunctions
- Defined in:
- lib/arel_extensions/boolean_functions.rb
Instance Method Summary collapse
Instance Method Details
#then(t, f = nil) ⇒ Object
14 15 16 |
# File 'lib/arel_extensions/boolean_functions.rb', line 14 def then(t, f = nil) ArelExtensions::Nodes::Then.new [self, t, f] end |
#⋀(other) ⇒ Object
6 7 8 |
# File 'lib/arel_extensions/boolean_functions.rb', line 6 def ⋀(other) self.and(other) end |
#⋁(other) ⇒ Object
10 11 12 |
# File 'lib/arel_extensions/boolean_functions.rb', line 10 def ⋁(other) self.or(other) end |