lib/attachs/interpolations.rb in attachs-4.0.0.1 vs lib/attachs/interpolations.rb in attachs-4.0.0.2

- old
+ new

@@ -1,13 +1,9 @@ module Attachs class Interpolations - def exist?(name) - registry.has_key? name - end - def find(name) - if exist?(name) + if registry.has_key?(name) registry[name] else raise "Interpolation #{name} not found" end end