Class: Prosereflect::Schema::MatchEdge
- Inherits:
-
Object
- Object
- Prosereflect::Schema::MatchEdge
- Defined in:
- lib/prosereflect/schema/content_match.rb
Overview
Represents an edge in the content match graph
Instance Attribute Summary collapse
-
#next_match ⇒ Object
readonly
Returns the value of attribute next_match.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type:, next_match:) ⇒ MatchEdge
constructor
A new instance of MatchEdge.
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_match ⇒ Object (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 |
#type ⇒ Object (readonly)
Returns the value of attribute type.
7 8 9 |
# File 'lib/prosereflect/schema/content_match.rb', line 7 def type @type end |