lib/roart/core/string.rb in roart-0.1.4 vs lib/roart/core/string.rb in roart-0.1.5
- old
+ new
@@ -16,6 +16,11 @@
end
def humanize
self.gsub(/_id$/, "").gsub(/_/, " ").capitalize
end
+
+ def blank?
+ self == ""
+ end
+
end
\ No newline at end of file