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