<?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; File/Dirクラス（ファイル・ディレクトリ）</title>
	<atom:link href="https://worthliv.com/category/ruby/ruby-file/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-file/feed" />
	<item>
		<title>Ruby1.7.3のソースコード行数を調べる</title>
		<link>https://worthliv.com/ruby_ruby173.html</link>
		<comments>https://worthliv.com/ruby_ruby173.html#comments</comments>
		<pubDate>Wed, 18 Dec 2013 13:31:05 +0000</pubDate>
		<dc:creator><![CDATA[wovethng]]></dc:creator>
				<category><![CDATA[File/Dirクラス（ファイル・ディレクトリ）]]></category>

		<guid isPermaLink="false">http://localhost/web/tenacity.xsrv.jp/easyramble.com/public_html/?p=1248</guid>
		<description><![CDATA[Cygwin1.5にRuby1.7をソースからビルドして、コードリーディングを少しずつ進めていますが、今日はRuby1.7.3を実装しているCコードが何行あるのか調べてみた。 対象としたファイルは、拡張子がc, およびh [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_ruby173.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_ruby173.html" />
	</item>
		<item>
		<title>DATAと__END__でファイルオブジェクトを扱う</title>
		<link>https://worthliv.com/ruby_data__end.html</link>
		<comments>https://worthliv.com/ruby_data__end.html#comments</comments>
		<pubDate>Wed, 25 Sep 2013 14:44:11 +0000</pubDate>
		<dc:creator><![CDATA[wovethng]]></dc:creator>
				<category><![CDATA[File/Dirクラス（ファイル・ディレクトリ）]]></category>

		<guid isPermaLink="false">http://localhost/web/tenacity.xsrv.jp/easyramble.com/public_html/?p=1226</guid>
		<description><![CDATA[Rubyスクリプト中に、「__END__」というキーワードを書くと、その行以降は実行されるスクリプトではなくて、データとして扱うことができるそうです。 そして、__END__ 以降のデータは、DATA という定数でファイ [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_data__end.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_data__end.html" />
	</item>
		<item>
		<title>ディレクトリを再帰的に走査するDir.globとFind.find</title>
		<link>https://worthliv.com/ruby_dirglobfindfind.html</link>
		<comments>https://worthliv.com/ruby_dirglobfindfind.html#comments</comments>
		<pubDate>Wed, 28 Aug 2013 05:13:03 +0000</pubDate>
		<dc:creator><![CDATA[wovethng]]></dc:creator>
				<category><![CDATA[File/Dirクラス（ファイル・ディレクトリ）]]></category>

		<guid isPermaLink="false">http://localhost/web/tenacity.xsrv.jp/easyramble.com/public_html/?p=1239</guid>
		<description><![CDATA[以前に、ディレクトリをオープンしてファイル名を読むで、ディレクトリを再帰的に走査するために、再帰関数を作ってみた。 しかし、再帰関数を書くよりも、Dir.globやFind.findを使ったほうが簡単です。 以下のような [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_dirglobfindfind.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_dirglobfindfind.html" />
	</item>
		<item>
		<title>ファイル名の取り出し・変更・操作</title>
		<link>https://worthliv.com/ruby_post_48.html</link>
		<comments>https://worthliv.com/ruby_post_48.html#comments</comments>
		<pubDate>Sat, 29 Jun 2013 18:53:45 +0000</pubDate>
		<dc:creator><![CDATA[wovethng]]></dc:creator>
				<category><![CDATA[File/Dirクラス（ファイル・ディレクトリ）]]></category>

		<guid isPermaLink="false">http://localhost/web/tenacity.xsrv.jp/easyramble.com/public_html/?p=1194</guid>
		<description><![CDATA[ファイルパスの、ディレクトリ部分、ベースネーム部分などを操作します。 スポンサーリンク puts &#039;--- ファイル名を取り出す。一番後ろの&#34;/&#34;以降を返す。&#039; p File.ba [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_post_48.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_post_48.html" />
	</item>
		<item>
		<title>FileTestモジュールでファイルを検査する</title>
		<link>https://worthliv.com/ruby_filetest.html</link>
		<comments>https://worthliv.com/ruby_filetest.html#comments</comments>
		<pubDate>Sat, 29 Jun 2013 18:11:57 +0000</pubDate>
		<dc:creator><![CDATA[wovethng]]></dc:creator>
				<category><![CDATA[File/Dirクラス（ファイル・ディレクトリ）]]></category>

		<guid isPermaLink="false">http://localhost/web/tenacity.xsrv.jp/easyramble.com/public_html/?p=1193</guid>
		<description><![CDATA[ファイル・ディレクトリの操作を行う場合、ファイルやディレクトリが存在するかどうか、ファイルかディレクトリのどちらか、読み込みや書き込みが可能か、ファイルのサイズはどのくらいか、などを事前に確認したい場合が多いです。 それ [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_filetest.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_filetest.html" />
	</item>
		<item>
		<title>File::statの時刻を変更する</title>
		<link>https://worthliv.com/ruby_filestat.html</link>
		<comments>https://worthliv.com/ruby_filestat.html#comments</comments>
		<pubDate>Sat, 29 Jun 2013 17:07:12 +0000</pubDate>
		<dc:creator><![CDATA[wovethng]]></dc:creator>
				<category><![CDATA[File/Dirクラス（ファイル・ディレクトリ）]]></category>

		<guid isPermaLink="false">http://localhost/web/tenacity.xsrv.jp/easyramble.com/public_html/?p=1192</guid>
		<description><![CDATA[ファイル・ディレクトリの属性取得で、ファイルやディレクトリが持つ属性情報を列挙しました。 これらの属性情報は、取得したり変更したりすることができます。 まず、ファイルやディレクトリが持つ時刻に関する情報の例です。 スポン [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_filestat.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_filestat.html" />
	</item>
		<item>
		<title>ファイル・ディレクトリの属性取得</title>
		<link>https://worthliv.com/ruby_post_47.html</link>
		<comments>https://worthliv.com/ruby_post_47.html#comments</comments>
		<pubDate>Sat, 29 Jun 2013 01:04:15 +0000</pubDate>
		<dc:creator><![CDATA[wovethng]]></dc:creator>
				<category><![CDATA[File/Dirクラス（ファイル・ディレクトリ）]]></category>

		<guid isPermaLink="false">http://localhost/web/tenacity.xsrv.jp/easyramble.com/public_html/?p=1191</guid>
		<description><![CDATA[File::Statクラスのインスタンスメソッドを用いて、ファイルやディレクトリの属性情報を取得することができます。 ファイルの最終更新時間や、ファイルサイズなど詳細なファイル・ディレクトリ情報を知ることができます。 ス [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_post_47.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_post_47.html" />
	</item>
		<item>
		<title>グロブ・Dir.globを使ってディレクトリ検索</title>
		<link>https://worthliv.com/ruby_dirglob.html</link>
		<comments>https://worthliv.com/ruby_dirglob.html#comments</comments>
		<pubDate>Sat, 29 Jun 2013 00:42:51 +0000</pubDate>
		<dc:creator><![CDATA[wovethng]]></dc:creator>
				<category><![CDATA[File/Dirクラス（ファイル・ディレクトリ）]]></category>

		<guid isPermaLink="false">http://localhost/web/tenacity.xsrv.jp/easyramble.com/public_html/?p=1190</guid>
		<description><![CDATA[ディレクトリをオープンしてファイル名を読むと、前のページでスクリプトを書いてみました。 今度は、シェルのようなグロブを用いて、ディレクトリ・ファイルを検索するように、指定ディレクトリ以下のディレクトリを再帰オープンすると [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_dirglob.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_dirglob.html" />
	</item>
		<item>
		<title>ディレクトリをオープンしてファイル名を読む</title>
		<link>https://worthliv.com/ruby_post_46.html</link>
		<comments>https://worthliv.com/ruby_post_46.html#comments</comments>
		<pubDate>Sat, 29 Jun 2013 00:14:39 +0000</pubDate>
		<dc:creator><![CDATA[wovethng]]></dc:creator>
				<category><![CDATA[File/Dirクラス（ファイル・ディレクトリ）]]></category>

		<guid isPermaLink="false">http://localhost/web/tenacity.xsrv.jp/easyramble.com/public_html/?p=1189</guid>
		<description><![CDATA[p Dir.pwd dir = Dir.open(&#34;./child&#34;) while name = dir.read print &#34;&#039;#{name}&#039;, &#34; en [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_post_46.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_post_46.html" />
	</item>
		<item>
		<title>ファイル名の変更・ファイルのコピー・移動・削除</title>
		<link>https://worthliv.com/ruby_post_44.html</link>
		<comments>https://worthliv.com/ruby_post_44.html#comments</comments>
		<pubDate>Fri, 28 Jun 2013 22:57:39 +0000</pubDate>
		<dc:creator><![CDATA[wovethng]]></dc:creator>
				<category><![CDATA[File/Dirクラス（ファイル・ディレクトリ）]]></category>

		<guid isPermaLink="false">http://localhost/web/tenacity.xsrv.jp/easyramble.com/public_html/?p=1187</guid>
		<description><![CDATA[Rubyでは、ファイルやディレクトリの操作も自由にできます。 text1.dat ～ text5.datというファイルを作って、いろいろと操作してみました。 スポンサーリンク File.rename(&#34;text [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_post_44.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_post_44.html" />
	</item>
	</channel>
</rss>
