class Sinatra::Base
def generate_method(method_name, &block)
def generate_method(method_name, &block) define_method(method_name, &block) method = instance_method method_name remove_method method_name method end
def generate_method(method_name, &block) define_method(method_name, &block) method = instance_method method_name remove_method method_name method end