lib/berkeley_library/util/uris/appender.rb
# if the fragment starts in the middle of this element, we keep the part before
# the fragment delimiter '#', and push the rest (w/'#') back onto the next element
# to be parsed in the next iteration
if the fragment starts in the middle of this element, we keep the part before
the fragment delimiter '#', and push the rest (w/'#') back onto the next element
to be parsed in the next iteration
if the fragment starts in the middle of this element we keep the part before the fragment delimiter ' # ' and push the rest ( w / ' # ' ) back onto the next element to be parsed in the next iteration
def push_fragment_start(elem_index, q_start)
          return q_start unless (f_index = q_start.index('#'))
          next_index = elem_index + 1
          q_start, q_next = split_around(q_start, f_index)           
          elements[next_index] = "##{q_next}#{elements[next_index]}" 
          q_start
        end
def push_fragment_start ( elem_index , q_start ) return q_start unless ( f_index = q_start . index ( '#' ) ) next_index = elem_index + 1 q_start , q_next = split_around ( q_start , f_index ) elements [ next_index ] = "##{q_next}#{elements[next_index]}" q_start end
if the fragment starts in the middle of this element, we keep the part before
the fragment delimiter '#', and push the rest (w/'#') back onto the next element
to be parsed in the next iteration
if the fragment starts in the middle of this element we keep the part before the fragment delimiter ' # ' and push the rest ( w / ' # ' ) back onto the next element to be parsed in the next iteration
# NOTE: this doesn't return the '#' #       so we prepend one here
elem_index
<not_specific>
q_start
<not_specific>