Method: URI::PlateID.parse
- Defined in:
- lib/uri/plate_id.rb
.parse(uri) ⇒ Object
Create a new URI::PlateID by parsing a plateid string with argument check.
URI::PlateID.parse 'plateid://Group/Class/1'
80 81 82 83 |
# File 'lib/uri/plate_id.rb', line 80 def parse(uri) generic_components = URI.split(uri) << nil << true # nil parser, true arg_check new(*generic_components) end |