2008-12-29から1日間の記事一覧
http://ujihisa.nowa.jp/entry/1801356369 すべてがメッセージ呼び出しと解釈した場合の解の1つ module OOnize def not; !self end def and(other) self && other end def or(other) self || other end def then(other) !self || other end end [ TrueClass…
http://ujihisa.nowa.jp/entry/62365f7d52どうせならここまでしたい感じ module OOnize def not; !self end def and(other) self && other end def or(other) self || other end end class TrueClass include OOnize end class FalseClass include OOnize en…