Class: RDF::Node

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

Instance Method Summary collapse

Instance Method Details

#+(other) ⇒ Object

Odd case of appending to a BNode identifier



6
7
8
# File 'lib/json/ld/extensions.rb', line 6

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

#valid_extended?Boolean

Validate extended RDF

Returns:

  • (Boolean)


30
31
32
# File 'lib/json/ld/extensions.rb', line 30

def valid_extended?
  valid?
end