Flowdock
method

let

Importance_0
Ruby latest stable (v1_9_3_392) - 0 notes - Class: Spec
let(name, &block) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/minitest/spec.rb, line 213
  def self.let name, &block
    define_method name do
      @_memoized ||= {}
      @_memoized.fetch(name) { |k| @_memoized[k] = instance_eval(&block) }
    end
  end
Register or log in to add new notes.