Class: Codebreaker::Console
- Inherits:
-
Object
- Object
- Codebreaker::Console
- Defined in:
- lib/codebreaker/console.rb
Instance Attribute Summary collapse
-
#difficulty_name ⇒ Object
readonly
Returns the value of attribute difficulty_name.
-
#game ⇒ Object
readonly
Returns the value of attribute game.
Instance Method Summary collapse
Instance Attribute Details
#difficulty_name ⇒ Object (readonly)
Returns the value of attribute difficulty_name.
6 7 8 |
# File 'lib/codebreaker/console.rb', line 6 def difficulty_name @difficulty_name end |
#game ⇒ Object (readonly)
Returns the value of attribute game.
6 7 8 |
# File 'lib/codebreaker/console.rb', line 6 def game @game end |
Instance Method Details
#welcome ⇒ Object
8 9 10 11 |
# File 'lib/codebreaker/console.rb', line 8 def welcome output(:welcome) welcome_instructions end |