priority

thr.priority â integer Instance Public methods Returns the priority of thr. Default is inherited from the current thread which creating the new thread, or zero for the initial main thread; higher-priority thread will run more frequently than lower-priority threads (but lower-priority threads can also run). This is just hint for Ruby thread scheduler. It may be ignored on some platform. Thread.current.priority #=> 0

name

name() Instance Public methods call-seq WIN32OLE_METHOD#name Returns the name of the method. tobj = WIN32OLE_TYPE.new('Microsoft Excel 9.0 Object Library', 'Workbook') method = WIN32OLE_METHOD.new(tobj, 'SaveAs') puts method.name # => SaveAs to_s

[]

WIN32OLE[a1,a2,...] Instance Public methods Returns the value of Collection specified by a1, a2,.⦠dict = WIN32OLE.new('Scripting.Dictionary') dict.add('ruby', 'Ruby') puts dict['ruby'] # => 'Ruby' (same as `puts dict.item('ruby')') Remark: You can not use this method to get the property. excel = WIN32OLE.new('Excel.Application') # puts excel['Visible'] This is error !!! puts excel.Visible # You should to use this style to get the property.

gem

gem(*args) Instance Public methods Adds an entry into Gemfile for the supplied gem. gem "rspec", group: :test gem "technoweenie-restful-authentication", lib: "restful-authentication", source: "http://gems.github.com/" gem "rails", "3.0", git: "git://github.com/rails/rails"

to_str

to_str() Instance Public methods Also aliased as: to_s

end_of_year

end_of_year() Instance Public methods Returns a new date/time representing the end of the year. DateTime objects will have a time set to 23:59:59. at_end_of_year

ole_types

WIN32OLE_TYPELIB#ole_types â The array of WIN32OLE_TYPE object included the type library. Instance Public methods Returns the type library file path. tlib = WIN32OLE_TYPELIB.new('Microsoft Excel 9.0 Object Library') classes = tlib.ole_types.collect{|k| k.name} # -> ['AddIn', 'AddIns' ...] ole_classes

add_protocol

add_protocol(prot) Class Public methods Add a new protocol to the DRbProtocol module.

unset

unset() Instance Public methods Also aliased as: destroy

generate_method_body

generate_method_body(method, disptype, types=nil) Instance Public methods