class A def hello "hello" end end # Later, I want to overide class A methods class A extend Overider overide (:hello) do |*a| overiden(*a) + " overide" end end A.new.hello # ==> "hello overide"
Larry Siden, Westside Consulting LLC
December 23, 2011 6:43am
無