Need to provide methods so we can identify when we're using the fallback method, and adjust tests accrodingly

This commit is contained in:
Robin Liao
2011-09-03 04:48:51 -07:00
parent 0690733247
commit 851ff11576
3 changed files with 267 additions and 181 deletions

View File

@@ -7,5 +7,8 @@ module Danbooru
image.write destination_path
end
module_function :resize_image
def is_fallback
end
module_function :resize_image, :is_fallback
end