# File lib/formtastic.rb, line 1833 def send_or_call(duck, object) if duck.is_a?(Proc) duck.call(object) else object.send(duck) end end