disconnect!

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

xview_pickplace

xview_pickplace(index) Instance Public methods

_set_global_var

_set_global_var(var, value) Class Public methods

array

WIN32OLE_VARIANT.array(ary, vt) Class Public methods Returns Ruby object wrapping OLE variant whose variant type is VT_ARRAY. The first argument should be Array object which specifies dimensions and each size of dimensions of OLE array. The second argument specifies variant type of the element of OLE array. The following create 2 dimensions OLE array. The first dimensions size is 3, and the second is 4. ole_ary = WIN32OLE_VARIANT.array([3,4], VT_I4) ruby_ary = ole_ary.value # =>

item_toggle_recurse

item_toggle_recurse(item) Instance Public methods

perforation_invoke

perforation_invoke(index=nil) Instance Public methods

dom_class

dom_class(record_or_class, prefix = nil) Instance Public methods The DOM class convention is to use the singular form of an object or class. dom_class(post) # => "post" dom_class(Person) # => "person" If you need to address multiple instances of the same class in the same view, you can prefix the #dom_class: dom_class(post, :edit) # => "edit_post" dom_class(Person, :edit) # => "edit_person"

group

group(*args) Instance Public methods Allows to specify a group attribute: User.group(:name) => SELECT "users".* FROM "users" GROUP BY name Returns an array with distinct records based on the group attribute: User.select([:id, :name]) => [#<User id: 1, name: "Oscar">, #<User id: 2, name: "Oscar">, #<User id: 3, name: "Foo"> User.group(:name) => [#<User id: 3, name: "Foo", ...>, #<User id: 2, name: "Oscar", ...>] User.group('name AS grouped_na

d

d() Instance Public methods Alias for: eigenvalue_matrix

minor

minor(*param) Instance Public methods Returns a section of the matrix. The parameters are either: start_row, nrows, start_col, ncols; OR row_range, col_range Matrix.diagonal(9, 5, -3).minor(0..1, 0..2) => 9 0 0 0 5 0 Like Array#[], negative indices count backward from the end of the row or column (-1 is the last element). Returns nil if the starting row or column is greater than #row_count or #column_count respectively.