lib/head_music.rb in head_music-0.17.0 vs lib/head_music.rb in head_music-0.18.0
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
module HeadMusic
GOLDEN_RATIO = (1 + 5**0.5) / 2.0
GOLDEN_RATIO_INVERSE = 1 / GOLDEN_RATIO
PENALTY_FACTOR = GOLDEN_RATIO_INVERSE
SMALL_PENALTY_FACTOR = GOLDEN_RATIO_INVERSE**0.5