<?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; IOクラス（入出力）</title>
	<atom:link href="https://worthliv.com/category/ruby/ruby-io/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-io/feed" />
	<item>
		<title>ファイルポインタを操作する</title>
		<link>https://worthliv.com/ruby_post_43.html</link>
		<comments>https://worthliv.com/ruby_post_43.html#comments</comments>
		<pubDate>Fri, 28 Jun 2013 21:02:04 +0000</pubDate>
		<dc:creator><![CDATA[wovethng]]></dc:creator>
				<category><![CDATA[IOクラス（入出力）]]></category>

		<guid isPermaLink="false">http://localhost/web/tenacity.xsrv.jp/easyramble.com/public_html/?p=1186</guid>
		<description><![CDATA[以下のtext.datファイルを読み込み、ファイルポインタを操作します。 ファイルポインタとは、IOオブジェクトが指すファイルの位置です。 スポンサーリンク text.dat Hello ! My name is Nao [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_post_43.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_post_43.html" />
	</item>
		<item>
		<title>出力メソッド</title>
		<link>https://worthliv.com/ruby_post_42.html</link>
		<comments>https://worthliv.com/ruby_post_42.html#comments</comments>
		<pubDate>Fri, 28 Jun 2013 20:38:30 +0000</pubDate>
		<dc:creator><![CDATA[wovethng]]></dc:creator>
				<category><![CDATA[IOクラス（入出力）]]></category>

		<guid isPermaLink="false">http://localhost/web/tenacity.xsrv.jp/easyramble.com/public_html/?p=1185</guid>
		<description><![CDATA[IOクラスの出力メソッドを見てみます。 こちらは簡単ですので、列挙とちょっとした注意点だけ。 スポンサーリンク io.puts(string1, string2, &#8230;) 引数に複数の文字列を渡す場合は、改行が [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_post_42.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_post_42.html" />
	</item>
		<item>
		<title>入力メソッド・1バイトずつ処理</title>
		<link>https://worthliv.com/ruby_1_2.html</link>
		<comments>https://worthliv.com/ruby_1_2.html#comments</comments>
		<pubDate>Fri, 28 Jun 2013 20:34:26 +0000</pubDate>
		<dc:creator><![CDATA[wovethng]]></dc:creator>
				<category><![CDATA[IOクラス（入出力）]]></category>

		<guid isPermaLink="false">http://localhost/web/tenacity.xsrv.jp/easyramble.com/public_html/?p=1184</guid>
		<description><![CDATA[入力メソッドのうち、1バイトずつ読み込んでの処理を見ます。 スポンサーリンク text.dat Hello ! My name is Naoko. I am japanese. I like Ruby. Ruby is  [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_1_2.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_1_2.html" />
	</item>
		<item>
		<title>入力メソッド・1行ずつ処理</title>
		<link>https://worthliv.com/ruby_1_1.html</link>
		<comments>https://worthliv.com/ruby_1_1.html#comments</comments>
		<pubDate>Fri, 28 Jun 2013 19:42:24 +0000</pubDate>
		<dc:creator><![CDATA[wovethng]]></dc:creator>
				<category><![CDATA[IOクラス（入出力）]]></category>

		<guid isPermaLink="false">http://localhost/web/tenacity.xsrv.jp/easyramble.com/public_html/?p=1183</guid>
		<description><![CDATA[IOクラスの入力メソッドのうち、1行ずつ処理していくメソッドを見ていきます。 スポンサーリンク text.dat Hello ! My name is Naoko. I am japanese. I like Ruby. [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_1_1.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_1_1.html" />
	</item>
		<item>
		<title>StringIOオブジェクト・stringio.rb</title>
		<link>https://worthliv.com/ruby_stringiostringiorb.html</link>
		<comments>https://worthliv.com/ruby_stringiostringiorb.html#comments</comments>
		<pubDate>Fri, 28 Jun 2013 19:18:42 +0000</pubDate>
		<dc:creator><![CDATA[wovethng]]></dc:creator>
				<category><![CDATA[IOクラス（入出力）]]></category>

		<guid isPermaLink="false">http://localhost/web/tenacity.xsrv.jp/easyramble.com/public_html/?p=1182</guid>
		<description><![CDATA[StringIOオブジェクトを用いることで、出力するデータをオブジェクトに蓄えていくことができます。 スポンサーリンク require &#34;stringio&#34; io = StringIO.new # S [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_stringiostringiorb.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_stringiostringiorb.html" />
	</item>
		<item>
		<title>URLを開く</title>
		<link>https://worthliv.com/ruby_url.html</link>
		<comments>https://worthliv.com/ruby_url.html#comments</comments>
		<pubDate>Fri, 28 Jun 2013 18:41:22 +0000</pubDate>
		<dc:creator><![CDATA[wovethng]]></dc:creator>
				<category><![CDATA[IOクラス（入出力）]]></category>

		<guid isPermaLink="false">http://localhost/web/tenacity.xsrv.jp/easyramble.com/public_html/?p=1181</guid>
		<description><![CDATA[Rubyでは、ファイルをオープンするのと同様に、URLをオープンするのも簡単です。 URLを開くには、open-uriライブラリを読み込みます。 スポンサーリンク require &#34;open-uri&#34; [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_url.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_url.html" />
	</item>
		<item>
		<title>File.readで全部読み込む・closed?メソッドで確認</title>
		<link>https://worthliv.com/ruby_filereadclosed.html</link>
		<comments>https://worthliv.com/ruby_filereadclosed.html#comments</comments>
		<pubDate>Fri, 28 Jun 2013 18:28:04 +0000</pubDate>
		<dc:creator><![CDATA[wovethng]]></dc:creator>
				<category><![CDATA[IOクラス（入出力）]]></category>

		<guid isPermaLink="false">http://localhost/web/tenacity.xsrv.jp/easyramble.com/public_html/?p=1180</guid>
		<description><![CDATA[File.readというクラスメソッドを使うと、ファイルのデータを全部一気に読み込めます。 ただし、ファイルサイズが大きい場合などは、処理に延々と時間がかかってしまう危険があります。 前のページ（ファイルを読み込み、ファ [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_filereadclosed.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_filereadclosed.html" />
	</item>
		<item>
		<title>ファイルを読み込み、ファイルを新規作成し書き込む</title>
		<link>https://worthliv.com/ruby_post_41.html</link>
		<comments>https://worthliv.com/ruby_post_41.html#comments</comments>
		<pubDate>Fri, 28 Jun 2013 18:19:20 +0000</pubDate>
		<dc:creator><![CDATA[wovethng]]></dc:creator>
				<category><![CDATA[IOクラス（入出力）]]></category>

		<guid isPermaLink="false">http://localhost/web/tenacity.xsrv.jp/easyramble.com/public_html/?p=1179</guid>
		<description><![CDATA[とあるデータファイルを読み込んで、別にファイルを開いて（新規作成して）、読み込んだデータを書き込む、というスクリプトを書いてみます。 まずは、データファイル。 スポンサーリンク number.dat 3,6,455,64 [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_post_41.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_post_41.html" />
	</item>
		<item>
		<title>ファイルのオープン・入出力</title>
		<link>https://worthliv.com/ruby_post_40.html</link>
		<comments>https://worthliv.com/ruby_post_40.html#comments</comments>
		<pubDate>Fri, 28 Jun 2013 17:11:02 +0000</pubDate>
		<dc:creator><![CDATA[wovethng]]></dc:creator>
				<category><![CDATA[IOクラス（入出力）]]></category>

		<guid isPermaLink="false">http://localhost/web/tenacity.xsrv.jp/easyramble.com/public_html/?p=1178</guid>
		<description><![CDATA[IOクラスのサブクラス、Fileクラスでファイルの入出力を行えます。 スポンサーリンク io = open(&#34;ファイル名&#34;, &#34;モード&#34;) io = File.open(&#038;quot [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_post_40.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_post_40.html" />
	</item>
		<item>
		<title>標準入力・標準出力・標準エラー出力</title>
		<link>https://worthliv.com/ruby_post_39.html</link>
		<comments>https://worthliv.com/ruby_post_39.html#comments</comments>
		<pubDate>Fri, 28 Jun 2013 17:01:17 +0000</pubDate>
		<dc:creator><![CDATA[wovethng]]></dc:creator>
				<category><![CDATA[IOクラス（入出力）]]></category>

		<guid isPermaLink="false">http://localhost/web/tenacity.xsrv.jp/easyramble.com/public_html/?p=1177</guid>
		<description><![CDATA[RubyのIOクラスには、3つのオブジェクトがあらかじめ割り当てられています。 スポンサーリンク 標準入力 組み込み定数、STDIN。 または、グローバル変数$stdin。 標準出力 STDOUT。 または、$stdou [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_post_39.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_post_39.html" />
	</item>
	</channel>
</rss>
