Returns the array of WIN32OLE::Type
object which is implemented by the WIN32OLE::Type
object.
tobj = WIN32OLE::Type.new('Microsoft Excel 9.0 Object Library', 'Worksheet') p tobj.implemented_ole_types # => [_Worksheet, DocEvents]
Returns the array of WIN32OLE::Type
object which is implemented by the WIN32OLE::Type
object and having IMPLTYPEFLAG_FDEFAULT.
tobj = WIN32OLE::Type.new('Microsoft Internet Controls', "InternetExplorer") p tobj.default_ole_types # => [#<WIN32OLE::Type:IWebBrowser2>, #<WIN32OLE::Type:DWebBrowserEvents2>]
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. It parses and compiles using prism.
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_prism("/tmp/hello.rb") #=> <RubyVM::InstructionSequence:<main>@/tmp/hello.rb>
Compile a WhileNode
node
Dispatch enter and leave events for WhileNode
nodes and continue walking the tree.
Inspect a WhileNode
node.
Copy a WhileNode
node
in “” in “foo”
in :+ in :foo
Check state file is writable. Creates empty file if not present to ensure we can write to it.
The location of the default spec file for default gems.
foo rescue bar ^^^^^^^^^^^^^^
If this boolean is false, types unsupported by the JSON
format will be serialized as strings. If this boolean is true, types unsupported by the JSON
format will raise a JSON::GeneratorError
.
If this boolean is false, types unsupported by the JSON
format will be serialized as strings. If this boolean is true, types unsupported by the JSON
format will raise a JSON::GeneratorError
.
This sets whether or not to serialize types unsupported by the JSON
format as strings. If this boolean is false, types unsupported by the JSON
format will be serialized as strings. If this boolean is true, types unsupported by the JSON
format will raise a JSON::GeneratorError
.
Returns the cofactor of the group.
See the OpenSSL
documentation for EC_GROUP_get_cofactor()
Whether the critical flag is set on this property.