Class: Compendium::ThroughQuery
- Defined in:
- lib/compendium/through_query.rb
Instance Attribute Summary collapse
-
#through ⇒ Object
Returns the value of attribute through.
Attributes inherited from Query
#filters, #metrics, #name, #options, #proc, #report, #results
Instance Method Summary collapse
-
#initialize(*args) ⇒ ThroughQuery
constructor
A new instance of ThroughQuery.
Methods inherited from Query
#add_filter, #add_metric, #chart, #empty?, #initialize_clone, #nil?, #ran?, #render_chart, #render_table, #run, #url
Constructor Details
#initialize(*args) ⇒ ThroughQuery
Returns a new instance of ThroughQuery.
7 8 9 10 11 |
# File 'lib/compendium/through_query.rb', line 7 def initialize(*args) @report = args.shift if arg_is_report?(args.first) @through = args.slice!(1) super(*args) end |
Instance Attribute Details
#through ⇒ Object
Returns the value of attribute through.
5 6 7 |
# File 'lib/compendium/through_query.rb', line 5 def through @through end |