lib/pmp/link.rb in pmp-0.2.3 vs lib/pmp/link.rb in pmp-0.2.4
- old
+ new
@@ -67,11 +67,9 @@
# if this is an assignment, assign to the link
# if you want to assign to a linked doc(s), need to retrieve first
method_last = method.to_s.last
if method_last == '='
super
- elsif self.respond_to?(method)
- self.send(method, *args)
else
# puts "mm retrieve and send: #{method}"
self.retrieve.send(method, *args)
end
end