mark

mark(pos) Instance Public methods

exec_query

exec_query(sql, name = nil, binds = []) Instance Public methods

satisfied_by?

satisfied_by?(version) Instance Public methods True if version satisfies this Requirement. === =~

reqs

reqs() Instance Public methods

civil

Date.civil([year=-4712[, month=1[, mday=1[, start=Date::ITALY]]]]) â date Class Public methods Creates a date object denoting the given calendar date. In this class, BCE years are counted astronomically. Thus, the year before the year 1 is the year zero, and the year preceding the year zero is the year -1. The month and the day of month should be a negative or a positive number (as a relative month/day from the end of year/month when negative). They should not be zero. The las

find_symbol

find_symbol(symbol) Instance Public methods Look up symbol, first as a module, then as a local symbol.

revoke!

revoke!() Instance Public methods

sort_by

enum.sort_by { |obj| block } â arrayenum.sort_by â an_enumerator Instance Public methods Sorts enum using a set of keys generated by mapping the values in enum through the given block. If no block is given, an enumerator is returned instead. %w{apple pear fig}.sort_by { |word| word.length} #=> ["fig", "pear", "apple"] The current implementation of sort_by generates an array of tuples containing the original collection element and the mapped va

x

x(win) Class Public methods

pre_match

mtch.pre_match â str Instance Public methods Returns the portion of the original string before the current match. Equivalent to the special variable $`. m = /(.)(.)(\d+)(\d)/.match("THX1138.") m.pre_match #=> "T"