Class: AnyValue::OddNumber
- Defined in:
- lib/any_value.rb
Instance Method Summary collapse
Methods inherited from Anything
#^, #initialize, #inspect, #to_ary, #to_str
Constructor Details
This class inherits a constructor from AnyValue::Anything
Instance Method Details
#==(o) ⇒ Object
94 95 96 |
# File 'lib/any_value.rb', line 94 def ==(o) super && o.odd? end |