def define_instance_action(action, &block)
      body = block_given? ? block : InstanceTemplateMethods.instance_method(action)
      define_method(action, body)
    end
def define_instance_action(action, &block)
      body = block_given? ? block : InstanceTemplateMethods.instance_method(action)
      define_method(action, body)
    end
Define an instance-level action on the current class. See {define_action}.