class NullMixedNumber

Public Class Methods

new() click to toggle source
# File lib/mixed_number_rails/null_mixed_number.rb, line 3
def initialize
        
end

Public Instance Methods

==(other) click to toggle source
# File lib/mixed_number_rails/null_mixed_number.rb, line 7
def ==(other)
        other == nil
end
method_missing(name, *args, &block) click to toggle source
# File lib/mixed_number_rails/null_mixed_number.rb, line 19
def method_missing(name, *args, &block)
        nil
end
nil?() click to toggle source
# File lib/mixed_number_rails/null_mixed_number.rb, line 11
def nil?
        true
end
to_m() click to toggle source
# File lib/mixed_number_rails/null_mixed_number.rb, line 15
def to_m
        nil
end