Class: Cure::Dsl::Queries::Query

Inherits:
Object
  • Object
show all
Defined in:
lib/cure/dsl/queries.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(named_range, query) ⇒ Query

Returns a new instance of Query.



28
29
30
31
# File 'lib/cure/dsl/queries.rb', line 28

def initialize(named_range, query)
  @named_range = named_range
  @query = query
end

Instance Attribute Details

#named_rangeObject (readonly)

Returns the value of attribute named_range.



26
27
28
# File 'lib/cure/dsl/queries.rb', line 26

def named_range
  @named_range
end

#queryObject (readonly)

Returns the value of attribute query.



26
27
28
# File 'lib/cure/dsl/queries.rb', line 26

def query
  @query
end