class Chef::DelayedEvaluator

Public Instance Methods

dup() click to toggle source
Calls superclass method
# File lib/chef/delayed_evaluator.rb, line 20
def dup
  # super returns a "Proc" (which seems buggy) so re-wrap it
  self.class.new(&super) # rubocop:disable Layout/SpaceAroundKeyword
end
inspect() click to toggle source
# File lib/chef/delayed_evaluator.rb, line 25
def inspect
  "lazy { (evaluates to) #{call.inspect} }"
end