Class: Minesweeprb::GameTemplate
- Inherits:
-
Data
- Object
- Data
- Minesweeprb::GameTemplate
- Defined in:
- lib/minesweeprb/game_template.rb
Instance Attribute Summary collapse
-
#height ⇒ Object
readonly
Returns the value of attribute height.
-
#label ⇒ Object
readonly
Returns the value of attribute label.
-
#mines ⇒ Object
readonly
Returns the value of attribute mines.
-
#width ⇒ Object
readonly
Returns the value of attribute width.
Instance Attribute Details
#height ⇒ Object (readonly)
Returns the value of attribute height
4 5 6 |
# File 'lib/minesweeprb/game_template.rb', line 4 def height @height end |
#label ⇒ Object (readonly)
Returns the value of attribute label
4 5 6 |
# File 'lib/minesweeprb/game_template.rb', line 4 def label @label end |
#mines ⇒ Object (readonly)
Returns the value of attribute mines
4 5 6 |
# File 'lib/minesweeprb/game_template.rb', line 4 def mines @mines end |
#width ⇒ Object (readonly)
Returns the value of attribute width
4 5 6 |
# File 'lib/minesweeprb/game_template.rb', line 4 def width @width end |