Class: Ticket::Reports::Available
- Defined in:
- app/models/ticket/reports.rb
Instance Method Summary collapse
Methods inherited from Base
#initialize, reporting_methods
Constructor Details
This class inherits a constructor from Ticket::Reports::Base
Instance Method Details
#total ⇒ Object
26 27 28 |
# File 'app/models/ticket/reports.rb', line 26 def total tickets.select(&:on_sale?).length end |