<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>unifa_tech</author_name>
  <author_url>https://blog.hatena.ne.jp/unifa_tech/</author_url>
  <blog_title>ユニファ開発者ブログ</blog_title>
  <blog_url>https://tech.unifa-e.com/</blog_url>
  <categories>
  </categories>
  <description>こんにちは、システム開発部のちょうです。今回は自分が最近の開発でもっとやりやすい方法でCSVやExcelを作成することについて話したいと思います。 まずCSVから。Ruby標準のライブラリにすでにcsvというCSVを取り扱うライブラリがあります。でもCSVを作成する際に、ヘッダーと内容は別々で出力します。 CSV.generate do |csv| csv &lt;&lt; [&quot;column1&quot;, &quot;column2&quot;, &quot;column3&quot;] items.each do |it| line = [] line &lt;&lt; it.foo line &lt;&lt; it.bar line &lt;&lt; it.baz csv &lt;&lt; li…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.unifa-e.com%2Fentry%2F2018%2F02%2F05%2F185508&quot; title=&quot;CsvBuilderとExcelBuilderを作ってみました - ユニファ開発者ブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-02-05 18:55:08</published>
  <title>CsvBuilderとExcelBuilderを作ってみました</title>
  <type>rich</type>
  <url>https://tech.unifa-e.com/entry/2018/02/05/185508</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
