method_missing

method_missing(selector, *args, &block) Instance Public methods ROUTES TODO: These assertions should really work in an integration context

initializers

initializers() Instance Public methods

def_system_command

def_system_command(command, path = command) Class Public methods Convenience method for Shell::CommandProcessor.def_system_command

new

new(indent, *parts) Class Public methods Creates a new IndentedParagraph containing parts indented with indent spaces

push

push( object ) Instance Public methods Also aliased as: <<

ole_type_detail

WIN32OLE_VARIABLE#ole_type_detail Instance Public methods Returns detail information of type. The information is array of type. tobj = WIN32OLE_TYPE.new('DirectX 7 for Visual Basic Type Library', 'D3DCLIPSTATUS') variable = tobj.variables.find {|variable| variable.name == 'lFlags'} tdetail = variable.ole_type_detail p tdetail # => ["USERDEFINED", "CONST_D3DCLIPSTATUSFLAGS"]

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

new

WIN32OLE_EVENT.new(ole, event) #=> WIN32OLE_EVENT object. Class Public methods Returns OLE event object. The first argument specifies WIN32OLE object. The second argument specifies OLE event name. ie = WIN32OLE.new('InternetExplorer.Application') ev = WIN32OLE_EVENT.new(ie, 'DWebBrowserEvents')

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"

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