Class: Codebreakergem::Difficulty
- Inherits:
-
Object
- Object
- Codebreakergem::Difficulty
- Defined in:
- lib/classes/difficulties/difficulty.rb
Instance Attribute Summary collapse
-
#attempts ⇒ Object
Returns the value of attribute attempts.
-
#hints ⇒ Object
Returns the value of attribute hints.
-
#order ⇒ Object
readonly
Returns the value of attribute order.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize ⇒ Difficulty
constructor
A new instance of Difficulty.
Constructor Details
#initialize ⇒ Difficulty
Returns a new instance of Difficulty.
8 9 10 |
# File 'lib/classes/difficulties/difficulty.rb', line 8 def initialize raise NotImplementedError end |
Instance Attribute Details
#attempts ⇒ Object
Returns the value of attribute attempts.
6 7 8 |
# File 'lib/classes/difficulties/difficulty.rb', line 6 def attempts @attempts end |
#hints ⇒ Object
Returns the value of attribute hints.
6 7 8 |
# File 'lib/classes/difficulties/difficulty.rb', line 6 def hints @hints end |
#order ⇒ Object (readonly)
Returns the value of attribute order.
5 6 7 |
# File 'lib/classes/difficulties/difficulty.rb', line 5 def order @order end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
5 6 7 |
# File 'lib/classes/difficulties/difficulty.rb', line 5 def title @title end |