Class: Valanga::Difficulty::Basic
- Defined in:
- lib/valanga/difficulty/basic.rb
Instance Attribute Summary collapse
-
#collete ⇒ Object
readonly
Returns the value of attribute collete.
-
#groovin ⇒ Object
readonly
Returns the value of attribute groovin.
Instance Method Summary collapse
- #difficulty ⇒ Object
-
#initialize(music) ⇒ Basic
constructor
A new instance of Basic.
Methods inherited from Base
#achievement_rate, #artist, #clear, #full_combo, #miss_count, #name, #play_count, #rank, #score
Constructor Details
#initialize(music) ⇒ Basic
6 7 8 9 |
# File 'lib/valanga/difficulty/basic.rb', line 6 def initialize(music) @collete = music.collete.basic @groovin = music.groovin.basic end |
Instance Attribute Details
#collete ⇒ Object (readonly)
Returns the value of attribute collete.
4 5 6 |
# File 'lib/valanga/difficulty/basic.rb', line 4 def collete @collete end |
#groovin ⇒ Object (readonly)
Returns the value of attribute groovin.
4 5 6 |
# File 'lib/valanga/difficulty/basic.rb', line 4 def groovin @groovin end |
Instance Method Details
#difficulty ⇒ Object
11 12 13 |
# File 'lib/valanga/difficulty/basic.rb', line 11 def difficulty 'BASIC' end |