append_features

append_features(klass) Instance Public methods

instance_exec

obj.instance_exec(arg...) {|var...| block } â obj Instance Public methods Executes the given block within the context of the receiver (obj). In order to set the context, the variable self is set to obj while the code is executing, giving the code access to obj's instance variables. Arguments are passed as block parameters. class KlassWithSecret def initialize @secret = 99 end end k = KlassWithSecret.new k.instance_exec(5) {|x| @secret+x } #=> 10

ask_if_ok

ask_if_ok(spec) Instance Public methods

accepts

accepts() Instance Public methods Returns the accepted MIME type for the request.

set_password

set_password(v) Instance Protected methods protected setter for the password component v see also #password=

primary_key

primary_key() Class Public methods

ole_func_methods

WIN32OLE#ole_func_methods Instance Public methods Returns the array of WIN32OLE_METHOD object . The element of the array is property (settable) of WIN32OLE object. excel = WIN32OLE.new('Excel.Application') properties = excel.ole_func_methods

==

==(other) Instance Public methods Returns true if and only if the two matrices contain equal elements.

map!

ary.map! {|item| block } â aryary.map! â Enumerator Instance Public methods Invokes the given block once for each element of self, replacing the element with the value returned by the block. See also Enumerable#collect. If no block is given, an Enumerator is returned instead. a = [ "a", "b", "c", "d" ] a.map! {|x| x + "!" } a #=> [ "a!", "b!", "c!", "d!" ]

generator_descriptions

generator_descriptions() Instance Public methods Returns a properly-space list of generators and their descriptions.