Method: Code::Object::Decimal#code_bitwise_and

Defined in:
lib/code/object/decimal.rb

#code_bitwise_and(other) ⇒ Object



149
150
151
# File 'lib/code/object/decimal.rb', line 149

def code_bitwise_and(other)
  Integer.new(raw.to_i & other.raw.to_i)
end