metrics_displayof 2

metrics_displayof(win, option=nil) Instance Public methods

Complex

Complex(x[, y]) â numeric Instance Public methods Returns x+i*y; Complex(1, 2) #=> (1+2i) Complex('1+2i') #=> (1+2i) Complex(nil) #=> TypeError Complex(1, nil) #=> TypeError Syntax of string form: string form = extra spaces , complex , extra spaces ; complex = real part | [ sign ] , imaginary part | real part , sign , imaginary part | rational , "@" , rational ; real part = rational ; imaginary part = imaginary unit | unsigned rational , ima

default_tls_port

default_tls_port() Class Public methods The default port for IMAPS connections, port 993 default_imaps_port default_ssl_port

standard_port?

standard_port?() Instance Public methods Returns whether this request is using the standard port

add_tk_procs

add_tk_procs(name, args=nil, body=nil) Class Public methods

new

new(name, start, ending, transaction_id, payload) Class Public methods

special_prefixes=

Readline.special_prefixes = string Class Public methods Sets the list of characters that are word break characters, but should be left in text when it is passed to the completion function. Programs can use this to help determine what kind of completing to do. For instance, Bash sets this variable to â$@â so that it can complete shell variables and hostnames. See GNU Readline's rl_special_prefixes variable. Raises NotImplementedError if the using readline library does not support.

adler32

Zlib.adler32(string, adler) Class Public methods Calculates Adler-32 checksum for string, and returns updated value of adler. If string is omitted, it returns the Adler-32 initial value. If adler is omitted, it assumes that the initial value is given to adler. FIXME: expression.

button

button(value = nil, options = {}, &block) Instance Public methods Add the submit button for the given form. When no value is given, it checks if the object is a new resource or not to create the proper label: <%= form_for @post do |f| %> <%= f.button %> <% end %> In the example above, if @post is a new record, it will use âCreate Postâ as button label, otherwise, it uses âUpdate Postâ. Those labels can be customized using I18n, under the helpers.submit key (

each

each(&block) Instance Public methods Overwrites Prime#each. Iterates the given block over all prime numbers. Note that enumeration starts from the current position of internal pointer, not rewound.