lib/quandl/format/dataset/attributes.rb in quandl_format-0.2.0 vs lib/quandl/format/dataset/attributes.rb in quandl_format-0.2.1

- old
+ new

@@ -77,10 +77,10 @@ def meta_attributes self.class.meta_attribute_names.inject({}){|m,k| m[k] = self.send(k); m } end def attributes - self.class.attribute_names.inject({}){|m,k| m[k] = self.send(k); m } + self.class.attribute_names.inject({}){|m,k| m[k] = self.send(k) unless self.send(k).nil?; m } end protected def data_rows_should_have_equal_columns! \ No newline at end of file