class EacRubyUtils::MethodClass::Setup
def method_name
def method_name method_class.name.demodulize.underscore.variableize end
def perform
def perform the_setup = self sender_module.define_method(method_name) do |*args, &block| the_setup.method_class.new(self, *args, &block).result end end
def sender_module
def sender_module method_class.module_parent end