lib/comma/extractors.rb in crafterm-comma-0.1.2 vs lib/comma/extractors.rb in crafterm-comma-0.1.3

- old
+ new

@@ -23,11 +23,13 @@ case arg when Hash arg.each do |k, v| @results << v.to_s.humanize end - when Symbol, String + when Symbol @results << arg.to_s.humanize + when String + @results << arg else raise "Unknown header symbol #{arg.inspect}" end end end