<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>Worth Living &#187; 繰り返し</title>
	<atom:link href="https://worthliv.com/category/ruby/ruby-loop/feed" rel="self" type="application/rss+xml" />
	<link>https://worthliv.com</link>
	<description>楽しく幸せに人生を送るためにはどうすれば良いのか？人生の要素をお金、仕事、勉強、プライベート、健康、心の6要素に分類して考察しています。プログラミング入門に関する記事も掲載。</description>
	<lastBuildDate>Wed, 09 Mar 2016 04:20:46 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.41</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/category/ruby/ruby-loop/feed" />
	<item>
		<title>break, next, redoの違い</title>
		<link>https://worthliv.com/ruby_break_next_redo.html</link>
		<comments>https://worthliv.com/ruby_break_next_redo.html#comments</comments>
		<pubDate>Sun, 23 Jun 2013 13:32:40 +0000</pubDate>
		<dc:creator><![CDATA[wovethng]]></dc:creator>
				<category><![CDATA[繰り返し]]></category>

		<guid isPermaLink="false">http://localhost/web/tenacity.xsrv.jp/easyramble.com/public_html/?p=1129</guid>
		<description><![CDATA[繰り返しの中で、ループ処理を中断したり、特定の回のループを飛ばしたりする場合は、break, next, redoなどを使います。 スポンサーリンク break 繰り返しを中断して、ループを抜ける。 next 現在の回を [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_break_next_redo.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_break_next_redo.html" />
	</item>
		<item>
		<title>loopメソッド</title>
		<link>https://worthliv.com/ruby_loop.html</link>
		<comments>https://worthliv.com/ruby_loop.html#comments</comments>
		<pubDate>Sun, 23 Jun 2013 12:32:26 +0000</pubDate>
		<dc:creator><![CDATA[wovethng]]></dc:creator>
				<category><![CDATA[繰り返し]]></category>

		<guid isPermaLink="false">http://localhost/web/tenacity.xsrv.jp/easyramble.com/public_html/?p=1128</guid>
		<description><![CDATA[loopメソッドは、終了条件のない繰り返しのメソッドです。 動作としては、以下に書くように、「while true」と書いた場合と同じ動作となりますので、繰り返し処理を記述するブロック内において、break文などでループ [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_loop.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_loop.html" />
	</item>
		<item>
		<title>eachメソッド</title>
		<link>https://worthliv.com/ruby_each_1.html</link>
		<comments>https://worthliv.com/ruby_each_1.html#comments</comments>
		<pubDate>Sun, 23 Jun 2013 11:15:59 +0000</pubDate>
		<dc:creator><![CDATA[wovethng]]></dc:creator>
				<category><![CDATA[繰り返し]]></category>

		<guid isPermaLink="false">http://localhost/web/tenacity.xsrv.jp/easyramble.com/public_html/?p=1127</guid>
		<description><![CDATA[Perlでeach関数に慣れている方であれば、Rubyのeachも分かりやすいですね。 eachメソッドは、配列などオブジェクトの集まりの中の、1つずつの要素を取り出すときに使います。 オブジェクトの要素を1つずつ取り出 [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_each_1.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_each_1.html" />
	</item>
		<item>
		<title>until文</title>
		<link>https://worthliv.com/ruby_until.html</link>
		<comments>https://worthliv.com/ruby_until.html#comments</comments>
		<pubDate>Sun, 23 Jun 2013 11:08:06 +0000</pubDate>
		<dc:creator><![CDATA[wovethng]]></dc:creator>
				<category><![CDATA[繰り返し]]></category>

		<guid isPermaLink="false">http://localhost/web/tenacity.xsrv.jp/easyramble.com/public_html/?p=1126</guid>
		<description><![CDATA[ifとunlessの関係のように、whileの条件の判定を逆にして繰り返し処理を扱うのが、until文です。 untilに指定された条件が偽の場合に、ループが実行されます。 スポンサーリンク while文で紹介したスクリ [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_until.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_until.html" />
	</item>
		<item>
		<title>while文</title>
		<link>https://worthliv.com/ruby_while_1.html</link>
		<comments>https://worthliv.com/ruby_while_1.html#comments</comments>
		<pubDate>Sun, 23 Jun 2013 10:57:52 +0000</pubDate>
		<dc:creator><![CDATA[wovethng]]></dc:creator>
				<category><![CDATA[繰り返し]]></category>

		<guid isPermaLink="false">http://localhost/web/tenacity.xsrv.jp/easyramble.com/public_html/?p=1125</guid>
		<description><![CDATA[Rubyのwhile文も、他言語の経験があるならば簡単でしょう。 スクリプトの実行例だけ見てみます。 スポンサーリンク i = 1 sum = 0 while i &#60;= 10 print i print &#039 [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_while_1.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_while_1.html" />
	</item>
		<item>
		<title>for文・for～in</title>
		<link>https://worthliv.com/ruby_forforin.html</link>
		<comments>https://worthliv.com/ruby_forforin.html#comments</comments>
		<pubDate>Sun, 23 Jun 2013 10:43:37 +0000</pubDate>
		<dc:creator><![CDATA[wovethng]]></dc:creator>
				<category><![CDATA[繰り返し]]></category>

		<guid isPermaLink="false">http://localhost/web/tenacity.xsrv.jp/easyramble.com/public_html/?p=1124</guid>
		<description><![CDATA[Rubyのfor文は、CやPHPでお馴染みのものとは見かけが若干違います。 見た目と働きは、JavaScriptのfor文に似ていますので、JavaScriptが分かられる方には理解しやすいと思います。 スポンサーリンク [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_forforin.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_forforin.html" />
	</item>
		<item>
		<title>timesメソッド・繰り返し回数指定</title>
		<link>https://worthliv.com/ruby_times.html</link>
		<comments>https://worthliv.com/ruby_times.html#comments</comments>
		<pubDate>Thu, 20 Jun 2013 19:38:25 +0000</pubDate>
		<dc:creator><![CDATA[wovethng]]></dc:creator>
				<category><![CDATA[繰り返し]]></category>

		<guid isPermaLink="false">http://localhost/web/tenacity.xsrv.jp/easyramble.com/public_html/?p=1108</guid>
		<description><![CDATA[単純に繰り返し回数を指定して、処理を繰り返す場合には、timesメソッドが便利です。 スポンサーリンク i = 0 10.times { i += 1 puts i } 5.times { &#124;i&#124; puts &#34; [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_times.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_times.html" />
	</item>
		<item>
		<title>while文（繰り返し）</title>
		<link>https://worthliv.com/ruby_while.html</link>
		<comments>https://worthliv.com/ruby_while.html#comments</comments>
		<pubDate>Thu, 20 Jun 2013 17:52:26 +0000</pubDate>
		<dc:creator><![CDATA[wovethng]]></dc:creator>
				<category><![CDATA[繰り返し]]></category>

		<guid isPermaLink="false">http://localhost/web/tenacity.xsrv.jp/easyramble.com/public_html/?p=1102</guid>
		<description><![CDATA[while文の書き方も、PHPやCと同様ですので簡単です。 1から10までを順に表示し、合計を求めるコードです。 スポンサーリンク i = 1 j = 0 while i &#60;= 10 puts i j += i i [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_while.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_while.html" />
	</item>
		<item>
		<title>loop と while true の違い</title>
		<link>https://worthliv.com/ruby_loop_while_true.html</link>
		<comments>https://worthliv.com/ruby_loop_while_true.html#comments</comments>
		<pubDate>Tue, 07 May 2013 16:56:29 +0000</pubDate>
		<dc:creator><![CDATA[wovethng]]></dc:creator>
				<category><![CDATA[繰り返し]]></category>

		<guid isPermaLink="false">http://localhost/web/tenacity.xsrv.jp/easyramble.com/public_html/?p=1232</guid>
		<description><![CDATA[以前、loopメソッドというエントリーで、loopはwhile trueと同義だと書いていたのですが、厳密には間違いでした。 繰り返しという目的においては類似しているが、変数のスコープが違います。 ご指摘を頂き気付いたの [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_loop_while_true.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_loop_while_true.html" />
	</item>
	</channel>
</rss>
