Method: Lbp::Resource#title

Defined in:
lib/lbp/resource.rb

#titleObject



80
81
82
83
84
85
86
87
# File 'lib/lbp/resource.rb', line 80

def title
	#careful here; title in db is not actualy a uri, but a litteral
	#to_s method should work, but it might not be correct for this to be initially
	#instantiated into a resource identifer.
	# This is why I'm forcing the to_s method in the return value rather than
	# return the ResourceIdentifer object itself as in the case of type above
	value(RDF::Vocab::DC11.title).to_s
end