instrument

instrument(name, payload={}) Instance Public methods Instrument the given block by measuring the time taken to execute it and publish it. Notice that events get sent even if an error occurs in the passed-in block.

gzip_file

gzip_file(file, dat) Class Public methods

signed

signed() Instance Public methods Returns a jar that'll automatically generate a signed representation of cookie value and verify it when reading from the cookie again. This is useful for creating cookies with values that the user is not supposed to change. If a signed cookie was tampered with by the user (or a 3rd party), nil will be returned. If secrets.secret_key_base and secrets.secret_token (deprecated) are both set, legacy cookies signed with the old key generator will be tran

destroy

destroy() Class Public methods

each

each() Instance Public methods Iterate passwords in the database.

validates_inclusion_of

validates_inclusion_of(*attr_names) Instance Public methods Validates whether the value of the specified attribute is available in a particular enumerable object. class Person < ActiveRecord::Base validates_inclusion_of :gender, in: %w( m f ) validates_inclusion_of :age, in: 0..99 validates_inclusion_of :format, in: %w( jpg gif png ), message: "extension %{value} is not included in the list" validates_inclusion_of :states, in: ->(person) { STATES[person.country] } v

fileList_autoScanCheckAux

fileList_autoScanCheckAux(w) Class Public methods

route_url

route_url() Instance Protected methods

unlink

Dir.unlink( string ) â 0 Class Public methods Deletes the named directory. Raises a subclass of SystemCallError if the directory isn't empty.

selectSingleNode

selectSingleNode(arg0) Instance Public methods IXMLDOMNode selectSingleNode execute query on the subtree BSTR arg0 --- queryString [IN]