insert

insert(pos,text) Instance Public methods

safe_join

safe_join(array, sep=$,) Instance Public methods This method returns a html safe string similar to what Array#join would return. All items in the array, including the supplied separator, are html escaped unless they are html safe, and the returned string is marked as html safe. safe_join(["<p>foo</p>".html_safe, "<p>bar</p>"], "<br />") # => "<p>foo</p>&lt;br /&gt;&lt;p&gt;bar&lt;/p&gt;" safe_join(["<p>foo&

selection_includes

selection_includes(index) Instance Public methods

each_byte

ARGF.bytes {|byte| block } â ARGFARGF.bytes â an_enumeratorARGF.each_byte {|byte| block } â ARGFARGF.each_byte â an_enumerator Instance Public methods Iterates over each byte of each file in +ARGV+. A byte is returned as a +Fixnum+ in the range 0..255. This method allows you to treat the files supplied on the command line as a single file consisting of the concatenation of each named file. After the last byte of the first file has been

marker_bind_remove

marker_bind_remove(tag, context) Instance Public methods

each

ARGF.each(sep=$/) {|line| block } â ARGFARGF.each(sep=$/,limit) {|line| block } â ARGFARGF.each(...) â an_enumeratorARGF.each_line(sep=$/) {|line| block } â ARGFARGF.each_line(sep=$/,limit) {|line| block } â ARGFARGF.each_line(...) â an_enumerator Instance Public methods Returns an enumerator which iterates over each line (separated by sep, which defaults to your platform's newline character) of each

new

Net::IMAP.new(host, options = {}) Class Public methods Creates a new Net::IMAP object and connects it to the specified host. options is an option hash, each key of which is a symbol. The available options are: port port number (default value is 143 for imap, or 993 for imaps) ssl if options is true, then an attempt will be made to use SSL (now TLS) to connect to the server. For this to work OpenSSL [OSSL] and the Ruby OpenSSL [RSSL] extensions need to be installed. if option

each_certificate

each_certificate() Instance Public methods Enumerates trusted certificates.

text_area

text_area(object_name, method, options = {}) Instance Public methods Returns a textarea opening and closing tag set tailored for accessing a specified attribute (identified by method) on an object assigned to the template (identified by object). Additional options on the input tag can be passed as a hash with options. Examples text_area(:post, :body, cols: 20, rows: 40) # => <textarea cols="20" rows="40" id="post_body" name="post[body]"> # #{@post.body} # </text

execute

execute() Instance Public methods