chmod

chmod(mode, list, options = {}) Class Public methods Options: noop verbose Changes permission bits on the named files (in list) to the bit pattern represented by mode. mode is the symbolic and absolute mode can be used. Absolute mode is FileUtils.chmod 0755, 'somecommand' FileUtils.chmod 0644, %w(my.rb your.rb his.rb her.rb) FileUtils.chmod 0755, '/usr/bin/ruby', :verbose => true Symbolic mode is FileUtils.chmod "u=wrx,go=rx", 'somecommand' FileUtils.chmod "u=wr,go=rr", %w(my.r

tagconfigure

tagconfigure(tagOrId, slot, value=None) Instance Public methods Also aliased as: tag_configure

helo

helo(domain) Instance Public methods

tabbind_remove

tabbind_remove(tag, context) Instance Public methods

consume

consume( pattern ) Instance Public methods

decoded

decoded() Instance Public methods Returns the decoded internal string.

read

pathname.read([length [, offset]]) â stringpathname.read([length [, offset]], open_args) â string Instance Public methods Returns all data from the file, or the first N bytes if specified. See IO.read.

new

new(preference, exchange) Class Public methods Creates a new MX record with preference, accepting mail at exchange.

format_date

format_date(time) Class Public methods Formats time as an IMAP-style date.

pluralize

pluralize(word, locale = :en) Instance Public methods Returns the plural form of the word in the string. If passed an optional locale parameter, the word will be pluralized using rules defined for that language. By default, this parameter is set to :en. 'post'.pluralize # => "posts" 'octopus'.pluralize # => "octopi" 'sheep'.pluralize # => "sheep" 'words'.pluralize # => "words" 'CamelOctopus'.pluralize # => "CamelOctopi"