<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bonlife</author_name>
  <author_url>https://blog.hatena.ne.jp/bonlife/</author_url>
  <blog_title>bonlife</blog_title>
  <blog_url>https://bonlife.hatenadiary.org/</blog_url>
  <categories>
    <anon>IT</anon>
    <anon>勉強</anon>
    <anon>Ruby</anon>
  </categories>
  <description>すごい勢いで食べて昼寝して…な生活をしているbonlifeです。軽くどころじゃなくヤバイです。しかも髭面ですし…。というのは置いておいて、Rubyの勉強の記録をメモしておきます。完全には消化できていないので、とりあえず練習問題のbonlife的解答(間違い含む)とコメントをメモしてみます。まずは第10章の数値(Numeric)クラスの練習問題です。ex10-1.rb 摂氏温度を華氏温度に変換するメソッドcels2fahrを定義する 変換の公式は「 華氏 = 摂氏 × 9 ÷ 5 + 32 」 def cels2fahr(cels) cels.to_f * 9 / 5 + 32 end p ce…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbonlife.hatenadiary.org%2Fentry%2F20060817%2F1155803974&quot; title=&quot; 「たのしいRuby」 第10章 数値(Numeric)クラス - bonlife&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-08-17 17:39:34</published>
  <title> 「たのしいRuby」 第10章 数値(Numeric)クラス</title>
  <type>rich</type>
  <url>https://bonlife.hatenadiary.org/entry/20060817/1155803974</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
