Class: Statement::PassRow
- Inherits:
-
Object
- Object
- Statement::PassRow
- Includes:
- Row
- Defined in:
- app/models/statement.rb
Instance Attribute Summary collapse
-
#pass_type_name ⇒ Object
Returns the value of attribute pass_type_name.
Attributes included from Row
#gross, #net, #processing, #tickets
Instance Method Summary collapse
-
#initialize(pass_type_name) ⇒ PassRow
constructor
A new instance of PassRow.
Methods included from Row
Constructor Details
#initialize(pass_type_name) ⇒ PassRow
Returns a new instance of PassRow.
187 188 189 190 191 192 193 |
# File 'app/models/statement.rb', line 187 def initialize(pass_type_name) self.pass_type_name = pass_type_name self.tickets = 0 self.gross = 0 self.processing = 0 self.net = 0 end |
Instance Attribute Details
#pass_type_name ⇒ Object
Returns the value of attribute pass_type_name.
185 186 187 |
# File 'app/models/statement.rb', line 185 def pass_type_name @pass_type_name end |