Results for: "Pathname"

Returns library name. If the method fails to access library name, WIN32OLERuntimeError is raised.

tlib = WIN32OLE_TYPELIB.new('Microsoft Excel 9.0 Object Library')
tlib.library_name # => Excel

Returns original filename recorded in the gzip file header, or nil if original filename is not present.

Specify the original name (str) in the gzip header.

Returns the absolute path of this instruction sequence.

nil if the iseq was evaluated from a string.

For example, using ::compile_file:

# /tmp/method.rb
def hello
  puts "hello, world"
end

# in irb
> iseq = RubyVM::InstructionSequence.compile_file('/tmp/method.rb')
> iseq.absolute_path #=> /tmp/method.rb
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

Private setter for the path of the URI::FTP.

Main name of the switch.

Returns the full name of this constant path. For example: “Foo::Bar”

Returns the full name of this constant path. For example: “Foo::Bar”

Returns the full name of this constant. For example: “Foo”

No documentation available

Iterates over all hostnames for address retrieved from the hosts file.

Iterates over all hostnames for address retrieved from the DNS resolver.

address must be a Resolv::IPv4, Resolv::IPv6 or a String. Retrieved names will be Resolv::DNS::Name instances.

Turns this IPv4 address into a Resolv::DNS::Name.

Turns this IPv6 address into a Resolv::DNS::Name.

Returns the full name (name-version) of this Gem. Platform information is included (name-version-platform) if it is specified and not the default Ruby platform.

Full path of the target library file. If the file is not in this gem, return nil.

Paths in the gem to add to $LOAD_PATH when this gem is activated.

See also require_paths=

If you have an extension you do not need to add "ext" to the require path, the extension build process will copy the extension files into “lib” for you.

The default value is "lib"

Usage:

# If all library files are in the root directory...
spec.require_path = '.'

Returns the paths to the source files for use with analysis and documentation tools. These paths are relative to full_gem_path.

Return a sorted list of all command names as strings.

Location of RubyGems.org credentials

Search took: 2ms  ·  Total Results: 2920