lib/buzztools/extend_fixnum.rb in buzztools-0.0.6 vs lib/buzztools/extend_fixnum.rb in buzztools-0.0.7
- old
+ new
@@ -1,10 +1,6 @@
Fixnum.class_eval do
- def to_nil
- self==0 ? nil : self
- end
-
def to_b(aDefault=false)
self==0 ? false : true
end
def to_range(aMin,aMax=nil,aDefault=nil)