vendor/rails/activesupport/lib/active_support/memoizable.rb in radiant-0.9.1 vs vendor/rails/activesupport/lib/active_support/memoizable.rb in radiant-1.0.0.rc1
- old
+ new
@@ -90,9 +90,11 @@
end # end
end # end
#
if private_method_defined?(#{original_method.inspect}) # if private_method_defined?(:_unmemoized_mime_type)
private #{symbol.inspect} # private :mime_type
+ elsif protected_method_defined?(#{original_method.inspect}) # elsif protected_method_defined?(:_unmemoized_mime_type)
+ protected #{symbol.inspect} # protected :mime_type
end # end
EOS
end
end
end