module Maxitest::LetAll
def let_all(name, &block)
def let_all(name, &block) cache = [] define_method(name) do if cache.empty? cache << instance_eval(&block) end cache.first end end
def let_all(name, &block) cache = [] define_method(name) do if cache.empty? cache << instance_eval(&block) end cache.first end end