Class: Gomasio::Game::Status

Inherits:
Struct
  • Object
show all
Defined in:
lib/gomasio/game.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#in_sameObject

Returns the value of attribute in_same

Returns:

  • (Object)

    the current value of in_same



11
12
13
# File 'lib/gomasio/game.rb', line 11

def in_same
  @in_same
end

#out_rangeObject

Returns the value of attribute out_range

Returns:

  • (Object)

    the current value of out_range



11
12
13
# File 'lib/gomasio/game.rb', line 11

def out_range
  @out_range
end

#retryObject

Returns the value of attribute retry

Returns:

  • (Object)

    the current value of retry



11
12
13
# File 'lib/gomasio/game.rb', line 11

def retry
  @retry
end

Instance Method Details

#clearObject



12
13
14
15
16
# File 'lib/gomasio/game.rb', line 12

def clear
  @retry     = false
  @in_same   = false
  @out_range = false
end