map

map(tag = @tag, style = @style) Instance Public methods Emit a map. The coder will be yielded to the block.

take

take(limit = nil) Instance Public methods Gives a record (or N records if a parameter is supplied) without any implied order. The order will depend on the database implementation. If an order is supplied it will be respected. Person.take # returns an object fetched by SELECT * FROM people LIMIT 1 Person.take(5) # returns 5 objects fetched by SELECT * FROM people LIMIT 5 Person.where(["name LIKE '%?'", name]).take

pi

pi(name, *params) Instance Public methods

unescape_element

unescape_element(str) Class Public methods Synonym for ::unescapeElement

plotpack

plotpack(w, dir, *plots) Class Public methods

status

status(win) Class Public methods

textToggle

textToggle(cmd1,sleep1,cmd2,sleep2) Instance Public methods textToggle â This method is invoked repeatedly to invoke two commands at periodic intervals. It normally reschedules itself after each execution but if an error occurs (e.g. because the window was deleted) then it doesn't reschedule itself. Arguments: cmd1 - Command to execute when method is called. sleep1 - Ms to sleep after executing cmd1 before executing cmd2. cmd2 - Command to execute in the next invocat

error?

error?() Instance Public methods

params

dh.params â hash Instance Public methods Stores all parameters of key to the hash INSECURE: PRIVATE INFORMATIONS CAN LEAK OUT!!! Don't use :-)) (I's up to you)

preloaded_records

preloaded_records() Instance Public methods