続・RubyでTemplateパターン
moduleを使ったパターン。これなら継承する必要がありません。
こっちのほうがRubyっぽい気がしますが、どうでしょう?
module BaseAction def execute() doValidate(); doExecute() end end class AddAction include BaseAction def doValidate() puts "AddAction.doValidate()" end def doExecute() puts "AddAction.doExecute()" end end