Class: Prosereflect::Schema::MatchEdge

Inherits:
Object
  • Object
show all
Defined in:
lib/prosereflect/schema/content_match.rb

Overview

Represents an edge in the content match graph

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type:, next_match:) ⇒ MatchEdge

Returns a new instance of MatchEdge.



9
10
11
12
# File 'lib/prosereflect/schema/content_match.rb', line 9

def initialize(type:, next_match:)
  @type = type
  @next_match = next_match
end

Instance Attribute Details

#next_matchObject (readonly)

Returns the value of attribute next_match.



7
8
9
# File 'lib/prosereflect/schema/content_match.rb', line 7

def next_match
  @next_match
end

#typeObject (readonly)

Returns the value of attribute type.



7
8
9
# File 'lib/prosereflect/schema/content_match.rb', line 7

def type
  @type
end