Module: Sequel::SQL::BitwiseMethods
- Included in:
- NumericExpression
- Defined in:
- lib/sequel/sql.rb
Overview
This defines the bitwise methods: &, |, ^, ~, <<, and >>. Because these methods overlap with the standard BooleanMethods methods, and they only make sense for numbers, they are only included in NumericExpression.
Instance Method Summary collapse
-
#~ ⇒ Object
Do the bitwise compliment of the self.
Instance Method Details
#~ ⇒ Object
Do the bitwise compliment of the self
145 146 147 |
# File 'lib/sequel/sql.rb', line 145 def ~ NumericExpression.new(:'B~', self) end |