gets

gets(*rs) Instance Public methods

rotate

ary.rotate(count=1) â new_ary Instance Public methods Returns a new array by rotating self so that the element at count is the first element of the new array. If count is negative then it rotates in the opposite direction, starting from the end of self where -1 is the last element. a = [ "a", "b", "c", "d" ] a.rotate #=> ["b", "c", "d", "a"] a #=> ["a", "b", "c", "d"] a.rotate(2) #=> ["c", "d", "a", "b"] a.rotate(-3) #=> ["b", "c", "d

configure

configure(*args) Class Public methods def configure(win, *args) if args[-1].kind_of?(Hash) opts = args.pop else opts = {} end params = [] # params.push((win.kind_of?(TkObject))? win.epath: win) params.push(_epath(win)) args.each{|win| # params.push((win.kind_of?(TkObject))? win.epath: win) params.push(_epath(win)) } opts.each{|k, v| params.push("-#{k}") # params.push((v.kind_of?(TkObject))? v.epath: v) params.push(_epath(v)) } tk_call_without_enc("pack", 'configure',

handle_class_module

handle_class_module(var_name, type, class_name, parent, in_module) Instance Public methods Creates a new RDoc::NormalClass or RDoc::NormalModule based on type named class_name in parent which was assigned to the C var_name.

start_export

start_export() Instance Public methods

itembind_remove

itembind_remove(tag, context) Instance Public methods

basic_quote_characters

Readline.basic_quote_characters â string Class Public methods Gets a list of quote characters which can cause a word break. Raises NotImplementedError if the using readline library does not support. Raises SecurityError exception if $SAFE is 4.

double_render

double_render() Instance Public methods :ported:

[]

sym(name) Class Public methods Get the address as an Integer for the function named name. The function is searched via dlsym on RTLD_NEXT. See man(3) dlsym() for more info.

format=

format=(extension) Instance Public methods Sets the format by string extension, which can be used to force custom formats that are not controlled by the extension. class ApplicationController < ActionController::Base before_action :adjust_format_for_iphone private def adjust_format_for_iphone request.format = :iphone if request.env["HTTP_USER_AGENT"][/iPhone/] end end