==

==(other) Instance Public methods

generate

generate( str, options = Hash.new ) { |csv| ... }generate( options = Hash.new ) { |csv| ... } Class Public methods This method wraps a String you provide, or an empty default String, in a CSV object which is passed to the provided block. You can use the block to append CSV rows to the String and when the block exits, the final String will be returned. Note that a passed String is modfied by this method. Call dup() before passing if you need a new String. The options parameter ca

unshift

unshift(*args, &block) Instance Public methods

new

new(klass, table, association) Class Public methods

new_menuspec

new_menuspec(menu_spec, parent = nil, tearoff = false, keys = nil) Class Public methods

link_to_unless_current

link_to_unless_current(name, options = {}, html_options = {}, &block) Instance Public methods Creates a link tag of the given name using a URL created by the set of options unless the current request URI is the same as the links, in which case only the name is returned (or the given block is yielded, if one exists). You can give link_to_unless_current a block which will specialize the default behavior (e.g., show a âStart Hereâ link rather than the link's text). Examples Let's

pos

pos() Instance Public methods # move to Tk::Text::IndexModMethods module def +(mod) return chars(mod) if mod.kind_of?(Numeric) mod = mod.to_s if mod =~ /^\s*[+-]?\d/ Tk::Text::IndexString.new(@id + ' + ' + mod) else Tk::Text::IndexString.new(@id + ' ' + mod) end end def -(mod) return chars(-mod) if mod.kind_of?(Numeric) mod = mod.to_s if mod =~ /^\s*[+-]?\d/ Tk::Text::IndexString.new(@id + ' - ' + mod) elsif mod =~ /^\s*[-]\s+(\d.*)$/ Tk::Text::IndexString.new(@id + ' -

set_numlist_element

set_numlist_element(idxs, val) Instance Public methods Alias for: set_list_element

eql?

eql?(other) Instance Public methods Equivalent to String#eql?. Returns true if the class name and other have the same length and content, otherwise false. class BlogPost extend ActiveModel::Naming end BlogPost.model_name.eql?('BlogPost') # => true BlogPost.model_name.eql?('Blog Post') # => false

abbreviate

abbreviate(spec) Instance Public methods Abbreviate the spec for downloading. Abbreviated specs are only used for searching, downloading and related activities and do not need deployment specific information (e.g. list of files). So we abbreviate the spec, making it much smaller for quicker downloads.