Skip to content

Commit

Permalink
nil
Browse files Browse the repository at this point in the history
  • Loading branch information
mikisvaz committed Oct 21, 2010
1 parent 251aaaf commit 9cbe319
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 142 deletions.
3 changes: 2 additions & 1 deletion lib/rbbt/util/open.rb
Expand Up @@ -202,6 +202,7 @@ def self.to_hash(input, options = {})
single = false if single.nil?
flatten = options[:flatten]
flatten = single if flatten.nil?
keep_empty = options[:keep_empty]

extra = [extra] if extra && ! extra.is_a?( Array)

Expand Down Expand Up @@ -236,7 +237,7 @@ def self.to_hash(input, options = {})
}.flatten
else
row_fields.each_with_index{|value, i|
next if value.nil?
next if value.nil? && ! keep_empty
data[id][i] ||= []
data[id][i] += value.split(sep2)
}
Expand Down
141 changes: 0 additions & 141 deletions rbbt.gemspec

This file was deleted.

0 comments on commit 9cbe319

Please sign in to comment.