highlight

highlight(text, phrases, options = {}) Instance Public methods Highlights one or more phrases everywhere in text by inserting it into a :highlighter string. The highlighter can be specialized by passing :highlighter as a single-quoted string with \1 where the phrase is to be inserted (defaults to '<mark>1</mark>') highlight('You searched for: rails', 'rails') # => You searched for: <mark>rails</mark> highlight('You searched for: ruby, rails, dhh', 'actio

mailer_class

mailer_class() Instance Public methods

entry_cget

entry_cget(option) Instance Public methods

to_set

to_set(klass = Set, *args, &block) Instance Public methods Makes a set from the enumerable object with given arguments. Needs to +require âsetâ+ to use this method.

new

new(*arg) Class Public methods Description Create a new URI::HTTP object from generic URI components as per RFC 2396. No HTTP-specific syntax checking (as per RFC 1738) is performed. Arguments are scheme, userinfo, host, port, registry, path, opaque, query and fragment, in that order. Example: uri = URI::HTTP.new('http', nil, "www.example.com", nil, "/path", "query", 'fragment') See also URI::Generic.new

label

label() Instance Public methods Returns the label of this instruction sequence. <main> if it's at the top level, <compiled> if it was evaluated from a string. For example, using irb: iseq = RubyVM::InstructionSequence.compile('num = 1 + 2') #=> <RubyVM::InstructionSequence:<compiled>@<compiled>> iseq.label #=> "<compiled>" Using ::compile_file: # /tmp/method.rb def hello puts "hello, world" end # in irb > iseq = RubyVM::InstructionSe

chmod_R

chmod_R(mode, list, options = {}) Class Public methods Options: noop verbose force Changes permission bits on the named files (in list) to the bit pattern represented by mode. FileUtils.chmod_R 0700, "/tmp/app.#{$$}" FileUtils.chmod_R "u=wrx", "/tmp/app.#{$$}"

bbox

bbox(idx) Instance Public methods

vscroll

vscroll(mode, *args) Instance Public methods vertical scrollbar : ON/OFF

find

find(findinfo, confine=None) Instance Public methods