lib/music-transcription/part.rb in music-transcription-0.9.2 vs lib/music-transcription/part.rb in music-transcription-0.10.0
- old
+ new
@@ -6,14 +6,14 @@
class Part
include Validatable
attr_reader :start_dynamic, :dynamic_changes, :notes
+ @@check_methods = [:ensure_start_dynamic, :ensure_dynamic_change_values_range ]
def initialize start_dynamic, notes: [], dynamic_changes: {}
@notes = notes
@start_dynamic = start_dynamic
@dynamic_changes = dynamic_changes
- @check_methods = [:ensure_start_dynamic, :ensure_dynamic_change_values_range ]
yield(self) if block_given?
end
def validatables