Method: Arrow::Cookie.dequote

Defined in:
lib/arrow/cookie.rb

.dequote(string) ⇒ Object

Strip surrounding double quotes from a copy of the specified string and return it.



36
37
38
# File 'lib/arrow/cookie.rb', line 36

def self::dequote( string )
	/^"((?:[^"]+|\\.)*)"/.match( string ) ? $1 : string.dup
end