Class: Reynard::Specification::Query

Inherits:
Object
  • Object
show all
Defined in:
lib/reynard/specification/query.rb

Overview

Describes a query for a node in a specification.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#typeObject (readonly)

Returns the value of attribute type.



7
8
9
# File 'lib/reynard/specification/query.rb', line 7

def type
  @type
end