Converts the given mode string into an integer.
Source: show | on GitHub
# File lib/rumai/ixp/transport.rb, line 142 def MODES.parse mode if mode.respond_to? :split mode.split(//).inject(0) {|m,c| m | self[c].to_i } else mode.to_i end end