quote

Regexp.quote(str) â string Class Public methods Escapes any characters that would have special meaning in a regular expression. Returns a new escaped string, or self if no characters are escaped. For any string, Regexp.new(Regexp.escape(str))=~str will be true. Regexp.escape('\*?{}.') #=> \\\*\?\{\}\.

set_menustate

set_menustate(tag, state) Instance Public methods

each

each() Instance Public methods Enumerates rows of the Enumerable objects.

bracket

bracket(dir, dist, from_pos, to_pos) Class Public methods

to_r

time.to_r â a_rational Instance Public methods Returns the value of time as a rational number of seconds since the Epoch. t = Time.now p t.to_r #=> (1270968792716287611/1000000000) This methods is intended to be used to get an accurate value representing the nanoseconds since the Epoch. You can use this method to convert time to another Epoch.

xscrollbar

xscrollbar(bar=nil) Instance Public methods

new

new(markup = nil) Class Public methods Creates a new formatter that will output Markdown format text

do_press

do_press(x, y) Instance Public methods

expand_path

expand_path(p1 = v1) Instance Public methods Returns the absolute path for the file. See File.expand_path.

cb_eval 2

cb_eval(cmd, *args) Instance Public methods def #cb_eval(cmd, *args) #self.eval_callback{ TkComm._get_eval_string(TkUtil.eval_cmd(cmd, *args)) } #ret = self.eval_callback{ TkComm._get_eval_string(TkUtil.eval_cmd(cmd, *args)) } ret = self.eval_callback(*args){|safe, *params| $SAFE=safe if $SAFE < safe TkComm._get_eval_string(TkUtil.eval_cmd(cmd, *params)) } if ret.kind_of?(Exception) raise ret end ret end