Class: Uri::Flags

Inherits:
Array
  • Object
show all
Defined in:
lib/regexpr-uri.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.new(p) ⇒ Object



6
7
8
# File 'lib/regexpr-uri.rb', line 6

def new p
	self[ p. split( /[&;]/) ]
end

Instance Method Details

#to_sObject



11
12
13
# File 'lib/regexpr-uri.rb', line 11

def to_s
	join '&'
end