2006-02-09 特異メソッド Rubyでは、オブジェクト固有のメソッドを定義できます。特異メソッドです。 s = "Rubyco" def s.hello puts "Hello" end s.hello #=> Hello t = s t.hello #=> Hello "Rubyco".hello #=> undefined method `hello' for "Rubyco":String (NoMethodError)