class Pry::Config::LazyValue

@see Pry::Config::MemoizedValue
@since v0.13.0
@api private
value.foo # => 22
value.foo # => 21
value.foo # => 20
value = Pry::Config::LazyValue.new { num += 1 }
num = 19
@example
block.
configuration value. Subsequent ‘#call` calls always evaluate the given
LazyValue is a Proc (block) wrapper. It is meant to be used as a

def call

def call
  @block.call
end

def initialize(&block)

def initialize(&block)
  @block = block
end