= private = protected
check_typecode(v)
validates typecode v, returns a true or false boolean
# File lib/uri/ftp.rb, line 163 def check_typecode(v) if TYPECODE.include?(v) return true else raise InvalidComponentError, "bad typecode(expected #{TYPECODE.join(', ')}): #{v}" end end