about summary refs log tree commit homepage
path: root/lib/dtas
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dtas')
-rw-r--r--lib/dtas/source/sox.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dtas/source/sox.rb b/lib/dtas/source/sox.rb
index e436fb1..9f3cd9b 100644
--- a/lib/dtas/source/sox.rb
+++ b/lib/dtas/source/sox.rb
@@ -60,7 +60,7 @@ class DTAS::Source::Sox # :nodoc:
             key = $1.upcase
             key = eval "#{key.inspect}.freeze"
           end
-          (comments[key] ||= ''.b) << "#{line}\n" if line.size > 0
+          (comments[key] ||= ''.b) << "#{line}\n" unless line.empty?
         end
         comments.each do |k,v|
           v.chomp!