Module: L43::Core::AsResult::Stack

Extended by:
Stack
Included in:
Stack
Defined in:
lib/l43/core/as_result.rb

Constant Summary collapse

Trigger =
%r{\/lib\/ruby\/gems\/}

Instance Method Summary collapse

Instance Method Details

#trace(locations) ⇒ Object



9
10
11
# File 'lib/l43/core/as_result.rb', line 9

def trace(locations)
  locations.take_while { !Trigger.match?(it.to_s) }
end