Sha256: e75b5708d3bf46f35df64f9b34044c6bb7ae8de039460065ca5b241920778afc

Contents?: true

Size: 218 Bytes

Versions: 1

Compression:

Stored size: 218 Bytes

Contents

require 'csv'

module PanicBoardData
  class Table

    def to_html
      Object
    end

    def self.to_csv data
      ::CSV.generate do |csv|
        data.each { |row| csv << row }
      end.strip
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
panic_board_data-0.0.4 lib/panic_board_data/table.rb