lib/data_mapper/support/blank.rb in datamapper-0.2.5 vs lib/data_mapper/support/blank.rb in datamapper-0.3.0

- old
+ new

@@ -2,11 +2,11 @@ def blank? nil? || (respond_to?(:empty?) && empty?) end end -class Fixnum +class Numeric def blank? false end end @@ -22,10 +22,10 @@ end end class FalseClass def blank? - false + true end end class String def blank?