Sha256: 5111682bf3e82b037f8977ba34d2435a2af500af19bdca0aae5c74f9af78e7da
Contents?: true
Size: 328 Bytes
Versions: 3
Compression:
Stored size: 328 Bytes
Contents
module Beso class CSV class << self def method_missing( method, *args, &block ) csv.send method, *args, &block end protected def csv @csv ||= if require 'csv' ::CSV else require 'fastercsv' FasterCSV end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
beso-0.2.1 | lib/beso/csv.rb |
beso-0.2.0 | lib/beso/csv.rb |
beso-0.1.0 | lib/beso/csv.rb |