Class: Reynard::Specification::Query
- Inherits:
-
Object
- Object
- Reynard::Specification::Query
- Defined in:
- lib/reynard/specification/query.rb
Overview
Describes a query for a node in a specification.
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type: nil) ⇒ Query
constructor
A new instance of Query.
Constructor Details
#initialize(type: nil) ⇒ Query
Returns a new instance of Query.
9 10 11 |
# File 'lib/reynard/specification/query.rb', line 9 def initialize(type: nil) @type = type end |
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
7 8 9 |
# File 'lib/reynard/specification/query.rb', line 7 def type @type end |