Class: Cure::Dsl::Queries::Query
- Inherits:
-
Object
- Object
- Cure::Dsl::Queries::Query
- Defined in:
- lib/cure/dsl/queries.rb
Instance Attribute Summary collapse
-
#named_range ⇒ Object
readonly
Returns the value of attribute named_range.
-
#query ⇒ Object
readonly
Returns the value of attribute query.
Instance Method Summary collapse
-
#initialize(named_range, query) ⇒ Query
constructor
A new instance of Query.
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_range ⇒ Object (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 |
#query ⇒ Object (readonly)
Returns the value of attribute query.
26 27 28 |
# File 'lib/cure/dsl/queries.rb', line 26 def query @query end |