# File lib/Borges/Component/Path.rb, line 14 def current_segment if @stack.empty? then nil else @stack.last.value end end