Class: ActiveRDF::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

#<=>, ==, #==, #abbr, #abbr?, #abbreviation, #class_level_predicates, #class_predicates, #class_properties, #classes, #contexts, #direct_predicates, #direct_properties, #direct_types, #empty_predicates, #empty_properties, eql?, find, find_all, find_by, #hash, #initialize, #inspect, #instance_of?, #instance_predicates, #instance_properties, #is_a?, #localname, localname, #method_missing, method_missing, #new_record?, #predicates, predicates, #properties, properties, #register_predicate, #save, #sub_predicates, #sub_properties, #super_classes, #super_predicates, #super_properties, #super_types, #to_literal_s, #to_xml, #type, #type=, #types, 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



7
8
9
# File 'lib/active_rdf/objectmanager/bnode.rb', line 7

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