Class: KDL::Types::IRL::Parser
- Inherits:
-
KDL::Types::IRLReference::Parser
- Object
- KDL::Types::IRLReference::Parser
- KDL::Types::IRL::Parser
- Defined in:
- lib/kdl/types/irl/parser.rb
Constant Summary
Constants inherited from KDL::Types::IRLReference::Parser
KDL::Types::IRLReference::Parser::PERCENT_RGX, KDL::Types::IRLReference::Parser::RESERVED_URL_CHARS, KDL::Types::IRLReference::Parser::RGX, KDL::Types::IRLReference::Parser::UNRESERVED_URL_CHARS, KDL::Types::IRLReference::Parser::URL_CHARS
Instance Method Summary collapse
Methods inherited from KDL::Types::IRLReference::Parser
build_uri_string, decode, encode, #initialize, #parse, percent_encode, valid_url_part?
Constructor Details
This class inherits a constructor from KDL::Types::IRLReference::Parser
Instance Method Details
#parse_url ⇒ Object
113 114 115 116 117 118 119 |
# File 'lib/kdl/types/irl/parser.rb', line 113 def parse_url parts = super scheme, * = parts raise ArgumentError, "invalid IRL `#{@string}'" if scheme.nil? || scheme.empty? parts end |