Method: Hatchet::NestedDiagnosticContext::ContextStack#clone

Defined in:
lib/hatchet/nested_diagnostic_context.rb

#cloneObject

Internal: Returns a clone of the stack.



110
111
112
# File 'lib/hatchet/nested_diagnostic_context.rb', line 110

def clone
  ContextStack.new(@stack.clone)
end