Method: Hatchet::NestedDiagnosticContext::ContextStack#join

Defined in:
lib/hatchet/nested_diagnostic_context.rb

#join(separator = $,) ⇒ Object

Public: Returns a String created by converting each message of the stack to a String, separated by separator.

separator - The String to separate the messages of the stack with

(default: $,).

Returns a String created by converting each message of the stack to a String, separated by separator.



123
124
125
# File 'lib/hatchet/nested_diagnostic_context.rb', line 123

def join(separator = $,)
  @stack.join(separator)
end