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