lib/quandl/operation/qdformat/node.rb in quandl_operation-0.1.21 vs lib/quandl/operation/qdformat/node.rb in quandl_operation-0.1.22

- old
+ new

@@ -28,10 +28,14 @@ end def full_code [source_code, code].join('/') end - + + def description=(value) + @description = value.to_s.gsub('\n', "\n") + end + def data=(rows) self.column_names = rows.shift unless rows.first.collect{|r| r.to_s.numeric? }.include?(true) @data = rows end \ No newline at end of file