Class: Statement::TicketTypeRow
- Inherits:
-
Object
- Object
- Statement::TicketTypeRow
- Includes:
- Row
- Defined in:
- app/models/statement.rb
Instance Attribute Summary collapse
-
#ticket_type ⇒ Object
Returns the value of attribute ticket_type.
Attributes included from Row
#gross, #net, #processing, #tickets
Instance Method Summary collapse
-
#initialize(ticket_type) ⇒ TicketTypeRow
constructor
A new instance of TicketTypeRow.
Methods included from Row
Constructor Details
#initialize(ticket_type) ⇒ TicketTypeRow
Returns a new instance of TicketTypeRow.
143 144 145 146 147 148 149 |
# File 'app/models/statement.rb', line 143 def initialize(ticket_type) self.ticket_type = ticket_type self.tickets = 0 self.gross = 0 self.processing = 0 self.net = 0 end |
Instance Attribute Details
#ticket_type ⇒ Object
Returns the value of attribute ticket_type.
141 142 143 |
# File 'app/models/statement.rb', line 141 def ticket_type @ticket_type end |