Closed palexander closed 11 years ago
We will need to support lookups based on the last fragment of an id IRI. For example:
# This works Ontology.find("http://blah.org/ontologies/snomed") # So should this Ontology.find("snomed")
Apparently this was already implemented. From test_model_find ...
test_model_find
white = Color.find("white") assert_instance_of Color, white assert white.resource_id.value.end_with? "white" assert_equal "white", white.code
We will need to support lookups based on the last fragment of an id IRI. For example: