Term#valid_datatype? blows up if resource is isomorphic and aliasing == to isomorphic_with?
Created by: dchandekstark
Resource basically looks like:
class PrincipalResource < ActiveTriples::Resource
include RDF::Isomorphic
alias_method :==, :isomorphic_with?
# etc.
end
Error:
NoMethodError: undefined method `count' for true:TrueClass
from /Users/dc/.rvm/gems/ruby-2.1.2@develop/gems/rdf-isomorphic-1.1.0/lib/rdf/isomorphic.rb:52:in `bijection_to'
from /Users/dc/.rvm/gems/ruby-2.1.2@develop/gems/rdf-isomorphic-1.1.0/lib/rdf/isomorphic.rb:30:in `isomorphic_with?'
from /Users/dc/.rvm/gems/ruby-2.1.2@develop/bundler/gems/ActiveTriples-f0f408289726/lib/active_triples/term.rb:134:in `valid_datatype?'