lib/muflax/objects.rb in muflax-0.2.6 vs lib/muflax/objects.rb in muflax-0.3.0

- old
+ new

@@ -45,15 +45,6 @@ # pick all attributes that they disagree about attrs.reject do |attr| self.respond_to? attr and other.respond_to? attr and self.send(attr) == other.send(attr) end end - - # consistent string length - def str_length - HighLine.uncolor(self.to_s).length - end - - def nil_if_blank - self.blank? ? nil : self - end end