Class: BNode

Inherits:
RDFS::Resource show all
Defined in:
lib/active_rdf/objectmanager/bnode.rb

Instance Attribute Summary

Attributes inherited from RDFS::Resource

#uri

Instance Method Summary collapse

Methods inherited from RDFS::Resource

#<=>, ==, #==, #abbreviation, #add_predicate, #class_level_predicates, #direct_predicates, find, #find, find_all, #get_predicate, #hash, #initialize, #instance_of?, localname, #localname, method_missing, #method_missing, predicates, #property_accessors, #save, #set_predicate, to_ntriple, #to_ntriple, #to_xml, #type, uri

Constructor Details

This class inherits a constructor from RDFS::Resource

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class RDFS::Resource

Instance Method Details

#to_sObject



2
3
4
# File 'lib/active_rdf/objectmanager/bnode.rb', line 2

def to_s
  "<_:#{uri}>"
end