begins?(long, short)
True if long begins with the characters from short.
# File lib/rubygems/command.rb, line 130 def begins?(long, short) return false if short.nil? long[0, short.length] == short end