# File lib/ruby-vpi/util.rb, line 13
13:   def rstrip_from char
14:     sub(/#{char}[^#{char}]*$/, '')
15:   end