database_yml

database_yml() Instance Public methods

hash

hash() Instance Public methods

to_sentence

to_sentence(options = {}) Instance Public methods Converts the array to a comma-separated sentence where the last element is joined by the connector word. You can pass the following options to change the default behavior. If you pass an option key that doesn't exist in the list below, it will raise an ArgumentError. Options :words_connector - The sign or word used to join the elements in arrays with two or more elements (default: â, â). :two_words_connector - The sign or word us

insertBefore

insertBefore(arg0, arg1) Instance Public methods IXMLDOMNode insertBefore insert a child node IXMLDOMNode arg0 --- newChild [IN] VARIANT arg1 --- refChild [IN]

binread

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

registered_type?

registered_type?(name) Class Public methods Is name a registered type?

new

new(extensions = DEFAULT_EXTENSIONS, debug = false) Class Public methods Creates a new markdown parser that enables the given extensions. orig_initialize

extra_rdoc_files=

extra_rdoc_files=(files) Instance Public methods Sets #extra_rdoc_files to files, ensuring it is an array. Don't use this, push onto the array instead.

permitted?

permitted?() Instance Public methods Returns true if the parameter is permitted, false otherwise. params = ActionController::Parameters.new params.permitted? # => false params.permit! params.permitted? # => true

stat

ios.stat â stat Instance Public methods Returns status information for ios as an object of type File::Stat. f = File.new("testfile") s = f.stat "%o" % s.mode #=> "100644" s.blksize #=> 4096 s.atime #=> Wed Apr 09 08:53:54 CDT 2003