lib/object_present.rb in markdown_exec-1.6 vs lib/object_present.rb in markdown_exec-1.7

- old
+ new

@@ -41,10 +41,10 @@ def present? case self.class.to_s when 'FalseClass', 'TrueClass' true else - self && (!respond_to?(:blank?) || !blank?) + self && (!respond_to?(:present?) || !present?) end end end end