Class: SportDb::GoalsMinuteStruct
- Inherits:
-
Object
- Object
- SportDb::GoalsMinuteStruct
- Defined in:
- lib/sportdb/finders/goals.rb
Instance Attribute Summary collapse
-
#minute ⇒ Object
Returns the value of attribute minute.
-
#offset ⇒ Object
Returns the value of attribute offset.
-
#owngoal ⇒ Object
flags.
-
#penalty ⇒ Object
flags.
Instance Method Summary collapse
-
#initialize ⇒ GoalsMinuteStruct
constructor
A new instance of GoalsMinuteStruct.
Constructor Details
#initialize ⇒ GoalsMinuteStruct
Returns a new instance of GoalsMinuteStruct.
25 26 27 28 29 |
# File 'lib/sportdb/finders/goals.rb', line 25 def initialize @offset = 0 @penalty = false @owngoal = false end |
Instance Attribute Details
#minute ⇒ Object
Returns the value of attribute minute.
22 23 24 |
# File 'lib/sportdb/finders/goals.rb', line 22 def minute @minute end |
#offset ⇒ Object
Returns the value of attribute offset.
22 23 24 |
# File 'lib/sportdb/finders/goals.rb', line 22 def offset @offset end |
#owngoal ⇒ Object
flags
23 24 25 |
# File 'lib/sportdb/finders/goals.rb', line 23 def owngoal @owngoal end |
#penalty ⇒ Object
flags
23 24 25 |
# File 'lib/sportdb/finders/goals.rb', line 23 def penalty @penalty end |