lib/sugarcube/ror.rb in
sugarcube-0.11
vs lib/sugarcube/ror.rb in
sugarcube-0.11.1
- old
+ new
@@ -4,6 +4,10 @@
class Object def blank? respond_to?(:empty?) ? empty? : !self end
+
+ def present?
+ !blank?
+ end
end