asciicompat_encoding

Encoding::Converter.asciicompat_encoding(string) â encoding or nilEncoding::Converter.asciicompat_encoding(encoding) â encoding or nil Class Public methods Returns the corresponding ASCII compatible encoding. Returns nil if the argument is an ASCII compatible encoding. âcorresponding ASCII compatible encodingâ is an ASCII compatible encoding which can represents exactly the same characters as the given ASCII incompatible encoding. So, no conversion undefined error occurs when conv

unset

unset() Instance Public methods Also aliased as: destroy

version

version() Class Public methods Returns revision information for the erb.rb module.

becomes!

becomes!(klass) Instance Public methods Wrapper around becomes that also changes the instance's sti column value. This is especially useful if you want to persist the changed class in your database. Note: The old instance's sti column value will be changed too, as both objects share the same set of attributes.

each_name 2

each_name(address) Instance Public methods Iterates over all hostnames for address.

assert_routing

assert_routing(path, options, defaults={}, extras={}, message=nil) Instance Public methods Asserts that path and options match both ways; in other words, it verifies that path generates options and then that options generates path. This essentially combines assert_recognizes and assert_generates into one step. The extras hash allows you to specify options that would normally be provided as a query string to the action. The message parameter allows you to specify a custom error mess

-@

-@() Instance Public methods

body

body() Instance Public methods Extended in activerecord-deprecated_finders

set_element_value_type

set_element_value_type(idxs, val) Instance Public methods

each_codepoint

strio.each_codepoint {|c| block } â striostrio.each_codepoint â anEnumerator Instance Public methods See IO#each_codepoint.