Class: Codebreakergem::Easy
- Inherits:
-
Difficulty
- Object
- Difficulty
- Codebreakergem::Easy
- Defined in:
- lib/classes/difficulties/easy.rb
Instance Attribute Summary
Attributes inherited from Difficulty
#attempts, #hints, #order, #title
Instance Method Summary collapse
-
#initialize ⇒ Easy
constructor
A new instance of Easy.
Constructor Details
#initialize ⇒ Easy
Returns a new instance of Easy.
5 6 7 8 9 10 |
# File 'lib/classes/difficulties/easy.rb', line 5 def initialize @title = 'Easy' @attempts = 15 @hints = 2 @order = 3 end |