<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Seasons</author_name>
  <author_url>https://blog.hatena.ne.jp/Seasons/</author_url>
  <blog_title>Seasons.NET</blog_title>
  <blog_url>https://seasons.hateblo.jp/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>すんません・・・ よく調べずに作ってみました・・・。 1 class Array 2 def to_v 3 begin 4 raise &quot;Array is Empty!!\n&quot; if self.empty? 5 sh = 0 6 value = 0 7 self.each{ |v| value = value | (v &lt;&lt; sh); sh = sh + 8 } 8 return value 9 rescue 10 STDERR.print $! 11 end 12 end 13 end 14 15 if $0 == __FILE__ 16 open( &quot;a.bin&quot; , &quot;rb&quot; ) do …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fseasons.hateblo.jp%2Fentry%2F20060915%2F1158237205&quot; title=&quot;Arrayを数値に変換 - Seasons.NET&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-09-15 21:33:25</published>
  <title>Arrayを数値に変換</title>
  <type>rich</type>
  <url>https://seasons.hateblo.jp/entry/20060915/1158237205</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
