<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tbpg</author_name>
  <author_url>https://blog.hatena.ne.jp/tbpg/</author_url>
  <blog_title>Tbpgr Blog</blog_title>
  <blog_url>https://tbpgr.hatenablog.com/</blog_url>
  <categories>
    <anon>Confident Ruby</anon>
    <anon>Ruby</anon>
  </categories>
  <description>概要 Handle special cases with Guard Clause 前提 Confident Rubyではメソッド内の処理を次のように分類しています。 ・Collecting Inputs(引数チェック、変換など) ・Performing Work（主処理） ・Delivering Output(戻り値に関わる処理) ・Handling Failure(例外処理)当記事は上記のうち、Collecting Inputsに関する話です。 詳細 状況 特定の稀なケースにおいて、メソッドの本体はスキップされるべき 概要 早期にメソッドからreturnすることで、影響を及ぼさないようにガ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftbpgr.hatenablog.com%2Fentry%2F20140512%2F1399896695&quot; title=&quot;Ruby | Collecting Inputs | Handle special cases with Guard Clause - Tbpgr 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>2014-05-12 21:11:35</published>
  <title>Ruby | Collecting Inputs | Handle special cases with Guard Clause</title>
  <type>rich</type>
  <url>https://tbpgr.hatenablog.com/entry/20140512/1399896695</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
