Class: MotionCSV::NoConversion
- Defined in:
- lib/motion-csv/motion-csv.rb
Instance Method Summary collapse
Methods inherited from Array
Instance Method Details
#<<(ch) ⇒ Object
260 261 262 |
# File 'lib/motion-csv/motion-csv.rb', line 260 def <<(ch) super(ch.chr) end |
#convert(as_string = false) ⇒ Object
264 265 266 267 268 269 270 271 272 |
# File 'lib/motion-csv/motion-csv.rb', line 264 def convert(as_string = false) if as_string join elsif empty? nil else join end end |