Defines the callback of event. If you want modify argument in callback, you could use this method instead of WIN32OLE::Event#on_event
.
ie = WIN32OLE.new('InternetExplorer.Application') ev = WIN32OLE::Event.new(ie) ev.on_event_with_outargs('BeforeNavigate2') {|*args| args.last[6] = true }
Save the inheritance_operator_loc
location using the given saved source so that it can be retrieved later.
Get a single gem name from the command line. Fail if there is no gem name or if there is more than one gem name given.
Adds a section with title
and content
to the parser help view. Used for adding command arguments and default arguments.
Search through all unresolved deps and sub-dependencies and return specs that contain the file matching path
.
Adds a dependency on gem dependency
with type type
that requires requirements
. Valid types are currently :runtime
and :development
.
Corrects path
(usually returned by ‘Gem::URI.parse().path` on Windows), that comes with a leading slash.
while foo; bar end ^^^^^^^^^^^^^^^^^^
bar while foo ^^^^^^^^^^^^^
while foo; bar end ^^^^^^^^^^^^^^^^^^
bar while foo ^^^^^^^^^^^^^
Compile a ClassVariableOperatorWriteNode
node
Compile a GlobalVariableOperatorWriteNode
node