extract_domain

extract_domain(host, tld_length = @@tld_length) Class Public methods

symbolized_path_parameters

symbolized_path_parameters() Instance Public methods The same as path_parameters with explicitly symbolized keys.

_get_variable2

_get_variable2(var_name, index_name, flag) Instance Public methods

item_dump_hash

item_dump_hash(item) Instance Public methods

new

TCPServer.new([hostname,] port) => tcpserver Class Public methods Creates a new server socket bound to port. If hostname is given, the socket is bound to it. serv = TCPServer.new("127.0.0.1", 28561) s = serv.accept s.puts Time.now s.close

values_at

struct.values_at(selector,... ) â an_array Instance Public methods Returns an array containing the elements in self corresponding to the given selector(s). The selectors may be either integer indices or ranges. See also </code>.select<code>. a = %w{ a b c d e f } a.values_at(1, 3, 5) a.values_at(1, 3, 5, 7) a.values_at(-1, -3, -5, -7) a.values_at(1..3, 2...5)

beep

beep() Class Public methods Sounds an audible alarm on the terminal, if possible; otherwise it flashes the screen (visual bell). see also ::flash

w3cdtf 2

w3cdtf() Instance Public methods

puzzleSwitch

puzzleSwitch(w, num) Instance Public methods puzzleSwitch â This procedure is invoked when the user clicks on a particular button; if the button is next to the empty space, it moves the button into the empty space.

disconnect!

disconnect!() Instance Public methods Disconnects from the database if already connected. Otherwise, this method does nothing.