music-transcription 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/music-transcription/note.rb +2 -2
- data/lib/music-transcription/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64c69aef1550de51c7c122aafd4a2499933cb3b7
|
4
|
+
data.tar.gz: 88b6b6b5b39a6f38ded4ab5acd2494acf772fe2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b6d2cf09096ebfcf72ebce548d65fb0b2673da3343727987cbd5a05a2ce1cdc419c59b781c2ca49d4ee782da162999b979e6c32736e3d0b811be358c91340e6
|
7
|
+
data.tar.gz: 399f53a359338b98f4f8d7c286e17bed2f91889d5423cce4b46f2da75266b56afe5248cd6d8daf7720726285a82425b58d4a8fd8ad5008b3e6360f8107f8e83e
|
@@ -38,8 +38,8 @@ class Note
|
|
38
38
|
# Compare the equality of another Note object.
|
39
39
|
def == other
|
40
40
|
return (@duration == other.duration) &&
|
41
|
-
(self.pitches
|
42
|
-
(@links == other.links) &&
|
41
|
+
(self.pitches == other.pitches) &&
|
42
|
+
(@links.to_a.sort == other.links.to_a.sort) &&
|
43
43
|
(@accent == other.accent)
|
44
44
|
end
|
45
45
|
|