Module: Debugging

Included in:
Binding
Defined in:
lib/binding.rb

Instance Method Summary collapse

Instance Method Details

#let_vars_hashObject



2
3
4
5
# File 'lib/binding.rb', line 2

def let_vars_hash
  memoized_values = self.receiver.instance_variable_get(:@__memoized)&.instance_variable_get(:@memoized)
  memoized_values && !memoized_values.empty? ? memoized_values.dup : {}
end