Class: Codebreaker::GameConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Codebreaker::GameConfiguration
- Defined in:
- lib/codebreaker/game.rb
Instance Attribute Summary collapse
-
#lang ⇒ Object
Returns the value of attribute lang.
-
#level ⇒ Object
Returns the value of attribute level.
-
#max_attempts ⇒ Object
Returns the value of attribute max_attempts.
-
#max_hints ⇒ Object
Returns the value of attribute max_hints.
-
#player_name ⇒ Object
Returns the value of attribute player_name.
Instance Attribute Details
#lang ⇒ Object
Returns the value of attribute lang
2 3 4 |
# File 'lib/codebreaker/game.rb', line 2 def lang @lang end |
#level ⇒ Object
Returns the value of attribute level
2 3 4 |
# File 'lib/codebreaker/game.rb', line 2 def level @level end |
#max_attempts ⇒ Object
Returns the value of attribute max_attempts
2 3 4 |
# File 'lib/codebreaker/game.rb', line 2 def max_attempts @max_attempts end |
#max_hints ⇒ Object
Returns the value of attribute max_hints
2 3 4 |
# File 'lib/codebreaker/game.rb', line 2 def max_hints @max_hints end |
#player_name ⇒ Object
Returns the value of attribute player_name
2 3 4 |
# File 'lib/codebreaker/game.rb', line 2 def player_name @player_name end |