musician 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/files/song.rb +6 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d5a0602cfef96b5fb12983bfb55be1cd1e994276
4
- data.tar.gz: 96507362f14c35912bb1d968dc3f5193463e022e
3
+ metadata.gz: a24cae27533f98ff5e6efc2d6a29fd5dbb9eaa1c
4
+ data.tar.gz: dc38bae199112096122f03113813fa926f3d470e
5
5
  SHA512:
6
- metadata.gz: 69bf88c781e38ce655df9d4fbd39a3b49848d661852e0c6a7cec168dff09430be6c87c90950ab23a3e9179430d409c1d9f75679b760a72b4c7927e289bc36ef9
7
- data.tar.gz: 134b786f32e78043edbd4e1357b0a481b493fcaccbdd40682d5ad3dc7a0cbd13c33b8290302ad64663785f06480db7057b18a3989f3ead89adcdc1dba082eefd
6
+ metadata.gz: 720944e72c8b1b96539b0ed567b4ae496883517f980a027a711a3be5a207a0b59a0470fca8fd3143040609d04f7e3fb73be7517151cdc822906e13116da87d4b
7
+ data.tar.gz: 18bb880a7c8a7690a58f1eb59102065dad79afe9b5b7aab1c3137486e87078367b488f12357a14ed602943877acd1dbf6cef90b2d34ab437444b05d381bc66a0
@@ -13,6 +13,12 @@ class Song
13
13
  @tempo = ""
14
14
  end
15
15
 
16
+ def chord_names
17
+ chords.map do |chord|
18
+ chord.name
19
+ end
20
+ end
21
+
16
22
  def key_change(new_key, option=:sharp)
17
23
  # unless new_key.instance_of? Chord then new_key = Chord.new(new_key)
18
24
  new_key = Chord.new(new_key) # もうすでにChordクラスであればこれを飛ばすようにする
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: musician
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriel Arcangel Zayas