lib/serious-eats/recipe.rb in serious-eats-0.1.0 vs lib/serious-eats/recipe.rb in serious-eats-0.1.1
- old
+ new
@@ -23,7 +23,11 @@
end
def self.find(id)
self.all[id - 1]
end
+
+ def has_data?
+ !!description
+ end
end
end
\ No newline at end of file