Sha256: 250f32dbacac0b7942fd7069690aef1ef86ab080a3dcdb4a4d1e7dab322cac1f
Contents?: true
Size: 215 Bytes
Versions: 21
Compression:
Stored size: 215 Bytes
Contents
module Minitest module Let def let(name, &block) define_method(name) do @_memoized ||= {} @_memoized.fetch(name) { |k| @_memoized[k] = instance_eval(&block) } end end end end
Version data entries
21 entries across 21 versions & 1 rubygems