Class: Fantasydata::Stadium
Instance Attribute Summary collapse
-
#capacity ⇒ Object
readonly
Returns the value of attribute capacity.
-
#city ⇒ Object
readonly
Returns the value of attribute city.
-
#country ⇒ Object
readonly
Returns the value of attribute country.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#playing_surface ⇒ Object
readonly
Returns the value of attribute playing_surface.
-
#stadium_id ⇒ Object
readonly
Returns the value of attribute stadium_id.
-
#state ⇒ Object
readonly
Returns the value of attribute state.
Method Summary
Methods inherited from Base
#==, attr_reader, #attrs, #initialize, #update
Constructor Details
This class inherits a constructor from Fantasydata::Base
Instance Attribute Details
#capacity ⇒ Object (readonly)
Returns the value of attribute capacity.
5 6 7 |
# File 'lib/fantasydata/stadium.rb', line 5 def capacity @capacity end |
#city ⇒ Object (readonly)
Returns the value of attribute city.
5 6 7 |
# File 'lib/fantasydata/stadium.rb', line 5 def city @city end |
#country ⇒ Object (readonly)
Returns the value of attribute country.
5 6 7 |
# File 'lib/fantasydata/stadium.rb', line 5 def country @country end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
5 6 7 |
# File 'lib/fantasydata/stadium.rb', line 5 def name @name end |
#playing_surface ⇒ Object (readonly)
Returns the value of attribute playing_surface.
5 6 7 |
# File 'lib/fantasydata/stadium.rb', line 5 def end |
#stadium_id ⇒ Object (readonly)
Returns the value of attribute stadium_id.
5 6 7 |
# File 'lib/fantasydata/stadium.rb', line 5 def stadium_id @stadium_id end |
#state ⇒ Object (readonly)
Returns the value of attribute state.
5 6 7 |
# File 'lib/fantasydata/stadium.rb', line 5 def state @state end |