file_dir

file_dir() Instance Public methods The directory files are written to

distinct

distinct() Instance Public methods Specifies whether the records should be unique or not. class Person < ActiveRecord::Base has_many :pets end person.pets.select(:name) # => [ # #<Pet name: "Fancy-Fancy">, # #<Pet name: "Fancy-Fancy"> # ] person.pets.select(:name).distinct # => [#<Pet name: "Fancy-Fancy">] uniq

set_service_hook

set_service_hook(&handler) Instance Public methods A service-hook is called for each service request (RPC). You can use a service-hook for example to wrap existing methods and catch exceptions of them or convert values to values recognized by XMLRPC. You can disable it by passing nil as the handler parameter. The service-hook is called with a Proc object along with any parameters. An example: server.set_service_hook {|obj, *args| begin ret = obj.call(*args) # call the or

colormapfull

colormapfull(win) Class Public methods

validatePhoneChange

validatePhoneChange(widget, vmode, idx, char) Instance Public methods validatePhoneChange â Checks that the replacement (mapped to a digit) of the given character in an entry widget at the given position will leave a valid phone number in the widget. widget - entry widget to validate vmode - The widget's validation mode idx - The index where replacement is to occur char - The character (or string, though that will always be refused) to be overwritten at that point.

transparent_color 2

transparent_color(color) Instance Public methods

notationdecl?

notationdecl?() Instance Public methods Content: [ String text ]

serializer

serializer() Instance Protected methods

new

new(scope, use_obj_id = false) Class Public methods

last_inserted_id

last_inserted_id(result) Instance Protected methods