Returns array of WIN32OLE::Method
objects which represent OLE method defined in OLE type library.
tobj = WIN32OLE::Type.new('Microsoft Excel 9.0 Object Library', 'Worksheet') methods = tobj.ole_methods.collect{|m| m.name } # => ['Activate', 'Copy', 'Delete',....]
Takes file
, a String
with the location of a Ruby source file, reads, parses and compiles the file, and returns iseq
, the compiled InstructionSequence
with source location metadata set.
Optionally takes options
, which can be true
, false
or a Hash
, to modify the default behavior of the Ruby iseq compiler.
For details regarding valid compile options see ::compile_option=
.
# /tmp/hello.rb puts "Hello, world!" # elsewhere RubyVM::InstructionSequence.compile_file("/tmp/hello.rb") #=> <RubyVM::InstructionSequence:<main>@/tmp/hello.rb>
def begin_modifier?: () -> bool
def begin_modifier?: () -> bool
Compile any kind of node. Dispatch out to the individual compilation methods based on the type of node.
Removes installed executables and batch files (windows only) for spec
.
returns a Time
that represents the Last-Modified field.
accessor to Fiddle::CStructEntity
accessor to Fiddle::CUnionEntity
Calculates the offsets and sizes for the given types
in the struct.
Calculate the necessary offset and for each union member with the given types
Parses the configuration data read from io and returns the whole content as a Hash
.
Sends the given command to this engine.
Raises an EngineError
if the command fails.