lib/spidr/page.rb
def method_missing(name,*arguments,&block)
      if (arguments.empty? && block.nil?)
        header_name = name.to_s.tr('_','-')

        if @response.key?(header_name)
          return @response[header_name]
        end
      end

      return super(name,*arguments,&block)
    end
def method_missing(name,*arguments,&block)
      if (arguments.empty? && block.nil?)
        header_name = name.to_s.tr('_','-')

        if @response.key?(header_name)
          return @response[header_name]
        end
      end

      return super(name,*arguments,&block)
    end
Provides transparent access to the values in {#headers}.

 @param [Symbol] name
   The name of the missing method.

 @param [Array] arguments
   Additional arguments for the missing method.

 @return [String]
   The missing method mapped to a header in {#headers}.

 @raise [NoMethodError]
   The missing method did not map to a header in {#headers}.