def parameter(name, params = Hash.new, &block)
      # pupu :autocompleter, type: "request"
      # @pupu.params: { type: "request" }

      # pupu :mootools, more: true
      # @pupu.params: { more: true }
      if @pupu.params.key?(name)
        block.call(@pupu.params[name])
      end
    end
def parameter(name, params = Hash.new, &block)
      # pupu :autocompleter, type: "request"
      # @pupu.params: { type: "request" }

      # pupu :mootools, more: true
      # @pupu.params: { more: true }
      if @pupu.params.key?(name)
        block.call(@pupu.params[name])
      end
    end
parameter :type, optional: ["local", "request"] do |type|
   javascript "autocompleter.#{type}"
 end
 parameter :more do |boolean|
  javascript "mootools-1.2-more" if boolean
 end