# File lib/url_mount.rb, line 10 def initialize(path, opts = {}, &blk) @raw_path, @options = path, opts @url_split_regex = Regexp.new("[^#{DELIMETERS.collect{|d| Regexp.quote(d)}.join}]+|[#{DELIMETERS.collect{|d| Regexp.quote(d)}.join}]") @host, @scheme = opts[:host], opts[:scheme] @callbacks = [] @callbacks << blk if blk end