Proper handling of RDFS::Resource#to_s by RDFS::Resource#initialize
Bug #152140 reported by
michael
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ActiveRDF |
Fix Committed
|
Low
|
Eyal Oren |
Bug Description
Simple patch to allow RDFS::Resource#
uri = "foo"
RDFS::Resource.
--- lib/active_
+++ lib/active_
@@ -27,6 +27,8 @@
@uri = case uri
when RDFS::Resource
+ when /\A<([^>]*)>\Z/
+ uri.gsub(
when String
uri
else
description: | updated |
To post a comment you must log in.
thx, implemented