Class: RDF::Node

Inherits:
Object
  • Object
show all
Defined in:
lib/json/ld/extensions.rb

Instance Method Summary collapse

Instance Method Details

#+(value) ⇒ Object

Odd case of appending to a BNode identifier



37
38
39
# File 'lib/json/ld/extensions.rb', line 37

def +(value)
  Node.new(id + value.to_s)
end