Class HistogramTest::Z_10Z_Integer
In: lib/histogram.rb
Parent: DelegateClass(Integer)

Methods

==   succ  

Public Instance methods

[Source]

# File lib/histogram.rb, line 130
      def == ( rhs )
        to_i % 10 == rhs % 10
      end

[Source]

# File lib/histogram.rb, line 133
      def succ
        self.class.new(super)
      end

[Validate]