convpath

ec.convpath â ary Instance Public methods Returns the conversion path of ec. The result is an array of conversions. ec = Encoding::Converter.new("ISO-8859-1", "EUC-JP", crlf_newline: true) p ec.convpath #=> [[#<Encoding:ISO-8859-1>, #<Encoding:UTF-8>], # [#<Encoding:UTF-8>, #<Encoding:EUC-JP>], # "crlf_newline"] Each element of the array is a pair of encodings or a string. A pair means an encoding conversion. A string means a decorator. In

id

id() Instance Public methods

new

new(value) Class Public methods

skip_until

skip_until(pattern) Instance Public methods Advances the scan pointer until pattern is matched and consumed. Returns the number of bytes advanced, or nil if no match was found. Look ahead to match pattern, and advance the scan pointer to the end of the match. Return the number of characters advanced, or nil if the match was unsuccessful. It's similar to scan_until, but without returning the intervening string. s = StringScanner.new("Fri Dec 12 1975 14:39") s.skip_until /12/

collection_radio_buttons

collection_radio_buttons(method, collection, value_method, text_method, options = {}, html_options = {}, &block) Instance Public methods Wraps ActionView::Helpers::FormOptionsHelper#collection_radio_buttons for form builders: <%= form_for @post do |f| %> <%= f.collection_radio_buttons :author_id, Author.all, :id, :name_with_initial %> <%= f.submit %> <% end %> Please refer to the documentation of the base helper for details.

delete

gdbm.delete(key) â value or nil Instance Public methods Removes the key-value-pair with the specified key from this database and returns the corresponding value. Returns nil if the database is empty.

test_string_with_crazy_column

test_string_with_crazy_column() Instance Public methods

last_inserted_id

last_inserted_id(result) Instance Public methods

ignore

ignore() Instance Public methods Use this to ignore a CodeObject and all its children until found again (#record_location is called). An ignored item will not be shown in documentation. See github issue #55 The ignored status is temporary in order to allow implementation details to be hidden. At the end of processing a file RDoc allows all classes and modules to add new documentation to previously created classes. If a class was ignored (via stopdoc) then reopened later with addi

set_translation

set_translation(locale, src_str, trans_str=None, enc='utf-8') Class Public methods