Results for: "to_proc"

No documentation available
No documentation available

Ensures the root certificate in chain is self-signed and valid for time.

No documentation available
No documentation available
No documentation available

Adds a local gem requested using dep_name with the given spec that can be loaded and installed using the source.

No documentation available
No documentation available

Quietly ensure the Gem directory dir contains all the proper subdirectories for handling default gems. If we can’t create a directory due to a permission problem, then we will silently continue.

If mode is given, missing directories are created with this mode.

World-writable directories will never be created.

Like Enumerable#drop_while, but chains operation to be lazy-evaluated.

Loads the given private key identified by id and data.

An EngineError is raised of the OpenSSL::PKey is unavailable.

No documentation available
No documentation available

Load an iseq object from binary format String object created by RubyVM::InstructionSequence.to_binary.

This loader does not have a verifier, so that loading broken/modified binary causes critical problem.

You should not load binary data provided by others. You should use binary data translated by yourself.

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 AssocNode node

Compile a BlockNode node

Save the name_loc location using the given saved source so that it can be retrieved later.

Save the name_loc location using the given saved source so that it can be retrieved later.

Save the name_loc location using the given saved source so that it can be retrieved later.

Save the name_loc location using the given saved source so that it can be retrieved later.

Save the name_loc location using the given saved source so that it can be retrieved later.

Save the name_loc location using the given saved source so that it can be retrieved later.

Save the name_loc location using the given saved source so that it can be retrieved later.

Search took: 5ms  ·  Total Results: 2407