Method: ShEx::Algebra::ShapeResult#initialize

Defined in:
lib/shex/algebra/schema.rb

#initialize(shape) ⇒ ShapeResult

Holds the result of processing a shape

Parameters:

  • shape (RDF::Resource)


248
249
250
# File 'lib/shex/algebra/schema.rb', line 248

def initialize(shape)
  @shape = shape
end