w3cdtf

w3cdtf(date) Class Public methods

sort_ascending

sort_ascending() Instance Public methods

gem

gem(gem_name, *requirements) Instance Private methods Use #gem to activate a specific version of gem_name. requirements is a list of version requirements that the specified gem must match, most commonly â= example.version.numberâ. See Gem::Requirement for how to specify a version requirement. If you will be activating the latest version of a gem, there is no need to call #gem, Kernel#require will do the right thing for you. #gem returns true if the gem was activated, otherwise fal

arglists

arglists() Instance Public methods The #call_seq or the #param_seq with method name, if there is no call_seq. Use this for displaying a method's argument lists.

min_by

enum.min_by { |obj| block } â objenum.min_by â an_enumerator Instance Public methods Returns the object in enum that gives the minimum value from the given block. If no block is given, an enumerator is returned instead. a = %w(albatross dog horse) a.min_by { |x| x.length } #=> "dog"

selection_anchor

selection_anchor(item=None) Instance Public methods

checkout

checkout() Instance Public methods Check-out a database connection from the pool, indicating that you want to use it. You should call checkin when you no longer need this. This is done by either returning and leasing existing connection, or by creating a new connection and leasing it. If all connections are leased and the pool is at capacity (meaning the number of currently leased connections is greater than or equal to the size limit set), an ActiveRecord::ConnectionTimeoutError e

wm_iconphoto

wm_iconphoto(*imgs) Instance Public methods Alias for: iconphoto

sort

enum.sort â arrayenum.sort { |a, b| block } â array Instance Public methods Returns an array containing the items in enum sorted, either according to their own <=> method, or by using the results of the supplied block. The block should return -1, 0, or +1 depending on the comparison between a and b. As of Ruby 1.8, the method Enumerable#sort_by implements a built-in Schwartzian Transform, useful when key computation or comparison is expensive. %w(rhea kea fl

invoke_hidden_on_global

invoke_hidden_on_global(slave, cmd, *args) Class Public methods