lib/gooddata/data/guesser.rb in gooddata-0.6.10 vs lib/gooddata/data/guesser.rb in gooddata-0.6.11
- old
+ new
@@ -22,10 +22,10 @@
end
end
def initialize(reader)
@reader = reader
- @headers = reader.shift.map! { |h| h.to_s } || fail('Empty data set')
+ @headers = reader.shift.map!(&:to_s) || fail('Empty data set')
@pros = {}
@cons = {}
@seen = {}
@headers.map do |h|