Skip to content

Error is thrown when getting num_cols if row content is number #37

Closed
smasry opened this Issue Apr 5, 2012 · 0 comments

2 participants

@smasry
smasry commented Apr 5, 2012

Affects
Version 0.1.8

def num_cols
reload() if !@cells
return @input_values.select(){ |(r, c), v| !v.empty? }.map(){ |(r, c), v| c }.max || 0
end

throws

undefined method `empty?' for 1:Fixnum

@gimite gimite closed this in c219dc5 Apr 8, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.