lib/url_regexp/scheme.rb in url_regexp-0.1.2 vs lib/url_regexp/scheme.rb in url_regexp-0.1.3
- old
+ new
@@ -1,10 +1,11 @@
require_relative './node'
module UrlRegexp
class Scheme < Node
- def initialize
+ def initialize(options = {})
@schemes = Set.new
+ @options = options
end
def append(scheme)
@schemes << scheme
end