Method: Hatchet::NestedDiagnosticContext::ContextStack#to_a

Defined in:
lib/hatchet/nested_diagnostic_context.rb

#to_aObject

Internal: Returns a copy of the stack as an array.



157
158
159
# File 'lib/hatchet/nested_diagnostic_context.rb', line 157

def to_a
  @stack.clone.to_a
end