Class: Minesweeprb::GameTemplate

Inherits:
Data
  • Object
show all
Defined in:
lib/minesweeprb/game_template.rb

Instance Attribute Summary collapse

Instance Attribute Details

#heightObject (readonly)

Returns the value of attribute height

Returns:

  • (Object)

    the current value of height



4
5
6
# File 'lib/minesweeprb/game_template.rb', line 4

def height
  @height
end

#labelObject (readonly)

Returns the value of attribute label

Returns:

  • (Object)

    the current value of label



4
5
6
# File 'lib/minesweeprb/game_template.rb', line 4

def label
  @label
end

#minesObject (readonly)

Returns the value of attribute mines

Returns:

  • (Object)

    the current value of mines



4
5
6
# File 'lib/minesweeprb/game_template.rb', line 4

def mines
  @mines
end

#widthObject (readonly)

Returns the value of attribute width

Returns:

  • (Object)

    the current value of width



4
5
6
# File 'lib/minesweeprb/game_template.rb', line 4

def width
  @width
end