diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2010-10-17 14:09:12 -0700 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2010-10-17 14:09:12 -0700 |
commit | 454877c42ab16428da6cddee813077cea4d4c794 (patch) | |
tree | 7a8a4d6539fdc8c1bb13873ef392bc8b6e5d2f86 /omptagger | |
parent | 0f708ecde00919a9bdf693443aa929cdeaceebea (diff) | |
download | omptagger-454877c42ab16428da6cddee813077cea4d4c794.tar.gz omptagger-454877c42ab16428da6cddee813077cea4d4c794.tar.xz |
Rename save_fields to write.
Diffstat (limited to 'omptagger')
-rwxr-xr-x | omptagger | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -303,7 +303,7 @@ class Metadata end def save - save_fields if @write + write if @write File.rename(@origname, @filename) unless @filename == @origname end @@ -324,7 +324,7 @@ class VorbisComment < Metadata metadata.fieldListMap.hash end - def save_fields + def write read.each_key do |field| metadata.removeField(TagLib::String.new(field)) end |