極めよRuby道 第9回 モジュールとクラスの使い方 後藤謙太郎 <URL:http://www.notwork.org/~gotoken/mag/cmagazine/> 註: この文書は『C MAGAZINE』2001年4月号 に掲載された記事の元となるものに手を加えたものです. 記事中のプログラムを一つずつファイルにしたものもあります(→list) 間違いを見つけたら,gotoken@notwork.org宛に御連絡くださると喜びます。 Copyright(c) 2001 by GOTO Kentaro. All rights reserved. コードの読みやすさとは?( 慣習の重要性, あとで自分が分かるように), モジュールの役割( 名前空間としてのモジュール, Mix-inとしてのモジュール, 特異メソッドとモジュール, 余談: 特異メソッドと特異クラス, mix-in で