cget_strict

cget_strict(option) Instance Public methods

last

last(limit = nil) Instance Public methods Find the last record (or last N records if a parameter is supplied). If no order is defined it will order by primary key. Person.last # returns the last object fetched by SELECT * FROM people Person.where(["user_name = ?", user_name]).last Person.order("created_on DESC").offset(5).last Person.last(3) # returns the last three objects fetched by SELECT * FROM people. Take note that in that last case, the results are sorted in ascending order

add_html

add_html(tag, name) Instance Public methods Add to the sequences recognized as general markup.

new

new(root, current, paths, options = {}) Class Public methods

rindex

str.rindex(substring [, fixnum]) â fixnum or nilstr.rindex(regexp [, fixnum]) â fixnum or nil Instance Public methods Returns the index of the last occurrence of the given substring or pattern (regexp) in str. Returns nil if not found. If the second parameter is present, it specifies the position in the string to end the searchâcharacters beyond this point will not be considered. "hello".rindex('e') #=> 1 "hello".rindex('l') #=> 3 "hello".rindex('

child_site

child_site(idx) Instance Public methods

row_count

row_count() Instance Public methods Returns the number of rows. row_size

foreach_proc_entry

foreach_proc_entry() Instance Public methods

fnmatch?

pathname.fnmatch?(pattern, [flags]) â string Instance Public methods Return true if the receiver matches the given pattern. See File.fnmatch.

current_configinfo

current_configinfo(fnt, slot=nil) Class Public methods