IronRuby.Builtins.DecimalOps.Equal C# (CSharp) Method

Equal() private method

private Equal ( BinaryOpStorage equals, decimal self, object other ) : bool
equals BinaryOpStorage
self decimal
other object
return bool
        public static bool Equal(BinaryOpStorage/*!*/ equals, decimal self, object other) {
            if (other is decimal) {
                return self == (decimal)other;
            }

            // Call == on the right operand like Float#== does
            return Protocols.IsEqual(equals, other, self);
        }

Same methods

DecimalOps::Equal ( decimal self, double other ) : bool