Method: Hatchet::NestedDiagnosticContext::ContextStack#initialize
- Defined in:
- lib/hatchet/nested_diagnostic_context.rb
#initialize(stack = []) ⇒ ContextStack
Internal: Creates a new instance.
stack - An Array of values to initialize the stack with (default: []).
97 98 99 |
# File 'lib/hatchet/nested_diagnostic_context.rb', line 97 def initialize(stack = []) @stack = stack end |