<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rochefort</author_name>
  <author_url>https://blog.hatena.ne.jp/rochefort/</author_url>
  <blog_title>rochefort's blog</blog_title>
  <blog_url>https://rochefort.hatenablog.com/</blog_url>
  <categories>
    <anon>ruby</anon>
    <anon>rspec</anon>
  </categories>
  <description>麻雀スクリプトを書く際にrspec書きながらやろうと思ったんだけど 試行錯誤重ねる段階でテストがうまく書けなかった。 いつも考えて試しながら書くとテストがちゃんと書けない。 rubyで麻雀の待ちを出力 - うんたらかんたら日記 これでは進歩が無いので、privateメソッドのテストを書くところから、 まずはやってみた（というかまだ途中だけど）。 書き方 #spec/majang_spec.rb require File.expand_path(File.dirname(__FILE__) + '/../majang.rb') describe Majang do # private metho…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frochefort.hatenablog.com%2Fentry%2F20110104%2Fp1&quot; title=&quot;privateメソッドのテスト - rochefort&amp;#39;s blog&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>2011-01-04 00:00:00</published>
  <title>privateメソッドのテスト</title>
  <type>rich</type>
  <url>https://rochefort.hatenablog.com/entry/20110104/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
