Sha256: c09b18fd77afd4884ceb478924245d07a98d9b8a8be5621f887ba1bd27f06b8e

Contents?: true

Size: 376 Bytes

Versions: 1

Compression:

Stored size: 376 Bytes

Contents

module Waves

  module Matchers

    class URI < Base
      
      def initialize( options )
        @path = Waves::Matchers::Path.new( options[ :path ] )
        @constraints = { :server => options[ :server ], :scheme => options[ :scheme ] }
      end
    
      def call( request )
        @path.call( request ) if test( request )
      end
      
    end
    
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
waves-edge-2009.03.10.13.14 lib/matchers/uri.rb