<?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-class/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-class/feed" />
	<item>
		<title>特異クラスによるクラスメソッド定義・class &lt;&lt; self ～ end</title>
		<link>https://worthliv.com/ruby_class_self_end.html</link>
		<comments>https://worthliv.com/ruby_class_self_end.html#comments</comments>
		<pubDate>Sun, 15 Sep 2013 08:37:14 +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=1245</guid>
		<description><![CDATA[Rubyのクラスは、Classクラスのインスタンスとなっていて、クラス自体も実はオブジェクト。 インスタンスであれば特異メソッドを定義できるわけで、Rubyのクラスメソッドとは、本当はClassクラスインスタンス（クラス [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_class_self_end.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_class_self_end.html" />
	</item>
		<item>
		<title>モジュールの使い方</title>
		<link>https://worthliv.com/ruby_post_17.html</link>
		<comments>https://worthliv.com/ruby_post_17.html#comments</comments>
		<pubDate>Mon, 24 Jun 2013 09:04:01 +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=1141</guid>
		<description><![CDATA[Rubyのライブラリには、クラスのほかモジュールもあります。 クラスは、データとその処理を一連に担いますが、モジュールはデータの処理のみをメインとした機能となります。 モジュールは、クラスと違って、インスタンス化できない [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_post_17.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_post_17.html" />
	</item>
		<item>
		<title>クラス定義でメソッドへのアクセス制限・public, private, protected</title>
		<link>https://worthliv.com/ruby_public_private_protected.html</link>
		<comments>https://worthliv.com/ruby_public_private_protected.html#comments</comments>
		<pubDate>Mon, 24 Jun 2013 05:31:11 +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=1140</guid>
		<description><![CDATA[Rubyのクラス定義においては、C++やPHPと同じように、public, private, protectedキーワードにより、メソッドへののアクセス制限を設定できます。 考え方は、C++やPHPと似たような感じですの [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_public_private_protected.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_public_private_protected.html" />
	</item>
		<item>
		<title>クラス継承</title>
		<link>https://worthliv.com/ruby_post_16.html</link>
		<comments>https://worthliv.com/ruby_post_16.html#comments</comments>
		<pubDate>Mon, 24 Jun 2013 05:07:48 +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=1139</guid>
		<description><![CDATA[スーパークラスからのクラス継承により、サブクラスで機能を拡張することもできます。 スポンサーリンク class Profile @@count = 0 # 人数 def initialize(name_one) @nam [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_post_16.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_post_16.html" />
	</item>
		<item>
		<title>クラス拡張</title>
		<link>https://worthliv.com/ruby_post_15.html</link>
		<comments>https://worthliv.com/ruby_post_15.html#comments</comments>
		<pubDate>Mon, 24 Jun 2013 04:15:14 +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=1138</guid>
		<description><![CDATA[定義済みのクラスを以下のように書いて拡張できます。 スポンサーリンク class Profile @@count = 0 # 人数 def initialize(name_one) @name = name_one @@ [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_post_15.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_post_15.html" />
	</item>
		<item>
		<title>クラス変数・クラスメソッド</title>
		<link>https://worthliv.com/ruby_post_14.html</link>
		<comments>https://worthliv.com/ruby_post_14.html#comments</comments>
		<pubDate>Mon, 24 Jun 2013 03:11:42 +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=1137</guid>
		<description><![CDATA[Rubyのクラス変数・クラスメソッドとは、CやPHPでの静的プロパティ・静的メソッドと同様のものです。 インスタンス（オブジェクト）に対する操作ではなくて、クラスそのものに対する操作を行うメソッドとなります。 スポンサー [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_post_14.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_post_14.html" />
	</item>
		<item>
		<title>アクセスメソッド（アクセサ）をattr_reader, attr_writer, attr_accessorで定義</title>
		<link>https://worthliv.com/ruby_attr_reader_attr_writer_attr_a.html</link>
		<comments>https://worthliv.com/ruby_attr_reader_attr_writer_attr_a.html#comments</comments>
		<pubDate>Mon, 24 Jun 2013 02:54:00 +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=1136</guid>
		<description><![CDATA[先ほどのページ、アクセスメソッド（アクセサ）では、アクセサを自分で定義していましたが、さらに便利な機能があります。 スポンサーリンク インスタンス変数の参照や変更を行うメソッドは、頻繁に書く必要がありますから、Rubyで [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_attr_reader_attr_writer_attr_a.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_attr_reader_attr_writer_attr_a.html" />
	</item>
		<item>
		<title>アクセスメソッド（アクセサ）</title>
		<link>https://worthliv.com/ruby_post_13.html</link>
		<comments>https://worthliv.com/ruby_post_13.html#comments</comments>
		<pubDate>Mon, 24 Jun 2013 02:16:27 +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=1135</guid>
		<description><![CDATA[Rubyのクラスでは、クラスの外部からインスタンス変数に直接アクセスすることができません。 いわば、インスタンス変数は、privateなメンバ変数になっていると言えます。 そこで、インスタンス変数にアクセスし参照や変更を [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_post_13.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_post_13.html" />
	</item>
		<item>
		<title>Rubyのクラス定義・initialize（コンストラクタ）</title>
		<link>https://worthliv.com/ruby_rubyinitialize.html</link>
		<comments>https://worthliv.com/ruby_rubyinitialize.html#comments</comments>
		<pubDate>Mon, 24 Jun 2013 01:36: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=1134</guid>
		<description><![CDATA[Rubyのクラス定義の基本を見てみます。 Rubyの場合、クラス定義には、class文を使います。 ただし、クラス名は大文字ではじめなければならないという約束事があります。 Rubyのクラスでのコンストラクタの役割は、i [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_rubyinitialize.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_rubyinitialize.html" />
	</item>
		<item>
		<title>スーパークラスとサブクラス・クラス継承</title>
		<link>https://worthliv.com/ruby_post_12.html</link>
		<comments>https://worthliv.com/ruby_post_12.html#comments</comments>
		<pubDate>Sun, 23 Jun 2013 16:59:17 +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=1133</guid>
		<description><![CDATA[オブジェクト指向プログラミングにより、クラスを定義するスタイルは、機能の拡張がしやすいという特徴を持ちます。 まず、スーパークラスには、共通の機能を定義しておき、継承によりサブクラスで固有の機能を定義する、という手法を用 [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_post_12.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_post_12.html" />
	</item>
		<item>
		<title>classメソッド・オブジェクトが属するクラスを調べる</title>
		<link>https://worthliv.com/ruby_class.html</link>
		<comments>https://worthliv.com/ruby_class.html#comments</comments>
		<pubDate>Sun, 23 Jun 2013 16:52:15 +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=1132</guid>
		<description><![CDATA[クラスやオブジェクト、インスタンスといった言葉は、若干理解が難しいですが、慣れれば段々と分かってきます。 スポンサーリンク 参考：オブジェクト指向を正しく理解する：ITpro オブジェクトがどのクラスに属するか調べる a [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_class.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_class.html" />
	</item>
		<item>
		<title>private, protected アクセス指定の違い</title>
		<link>https://worthliv.com/ruby_private_protected.html</link>
		<comments>https://worthliv.com/ruby_private_protected.html#comments</comments>
		<pubDate>Wed, 05 Jun 2013 14:40:17 +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=1233</guid>
		<description><![CDATA[以前、クラス定義でメソッドへのアクセス制限・public, private, protectedで、メソッドのアクセス指定の違いを解説したのですが、忘れっぽいのでおさらい。 Rubyの場合、privateとprotect [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_private_protected.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_private_protected.html" />
	</item>
		<item>
		<title>オブジェクトのコピーを作る</title>
		<link>https://worthliv.com/ruby_post_63.html</link>
		<comments>https://worthliv.com/ruby_post_63.html#comments</comments>
		<pubDate>Sat, 16 Feb 2013 14:55:46 +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=1231</guid>
		<description><![CDATA[オブジェクトを作る場合、dup, clone メソッドを実行すると、元のオブジェクトからコピーしたオブジェクトが新規に作られます。 dup, clone は、オブジェクトのインスタンス変数をコピーする時に、浅いコピーを行 [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_post_63.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_post_63.html" />
	</item>
		<item>
		<title>Rubyのinitializeメソッドの継承</title>
		<link>https://worthliv.com/ruby_rubyinitialize_1.html</link>
		<comments>https://worthliv.com/ruby_rubyinitialize_1.html#comments</comments>
		<pubDate>Fri, 15 Feb 2013 16:36:34 +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=1230</guid>
		<description><![CDATA[Rubyでは、サブクラスでinitializeメソッド（C++やJavaでのコンストラクタに相当するメソッド）を定義しなかった場合、スーパークラスのinitializeメソッドが自動的に継承されます。 スポンサーリンク  [&#8230;]]]></description>
		<wfw:commentRss>https://worthliv.com/ruby_rubyinitialize_1.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="https://worthliv.com/ruby_rubyinitialize_1.html" />
	</item>
	</channel>
</rss>
