<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>argius</author_name>
  <author_url>https://blog.hatena.ne.jp/argius/</author_url>
  <blog_title>argius note</blog_title>
  <blog_url>https://argius.hatenablog.jp/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>http://d.hatena.ne.jp/argius/20060302/1141309017 前回、どこかRubyらしくないよなー、と思っていたが、なるほど、ブロックの書き方でした。記号を排して書きたいのだから、ブロックはdo-endで書いたほうが良いね。 # 固定長テキスト→配列 rows = [] while (line = gets) != nil rows.push(line.chomp!.unpack(&quot;A2 A23 A8 A5 A37 A38 A*&quot;)) end # ソート(破壊的) rows.sort! do |a, b| b[3].to_s a[3].to_s or a[4…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fargius.hatenablog.jp%2Fentry%2F20060320%2F1142863642&quot; title=&quot;固定長テキストを項目でソートする (2) - argius note&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>2006-03-20 23:07:22</published>
  <title>固定長テキストを項目でソートする (2)</title>
  <type>rich</type>
  <url>https://argius.hatenablog.jp/entry/20060320/1142863642</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
