Method: Pry::Config::MemoizedValue#call

Defined in:
lib/pry/config/memoized_value.rb

#callObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Since:

  • v0.13.0



26
27
28
29
30
31
# File 'lib/pry/config/memoized_value.rb', line 26

def call
  return @call if @called

  @called = true
  @call = @block.call
end