Results for: "Data"

The number of paths in the +$LOAD_PATH+ from activated gems. Used to prioritize -I and ENV['RUBYLIB'] entries during require.

Returns the value of Gem.source_date_epoch_string, as a Time object.

This is used throughout RubyGems for enabling reproducible builds.

Shortcut for defining multiple delegator methods, but with no provision for using a different name. The following two code samples have the same effect:

def_delegators :@records, :size, :<<, :map

def_delegator :@records, :size
def_delegator :@records, :<<
def_delegator :@records, :map

Define method as delegator instance method with an optional alias name ali. Method calls to ali will be delegated to accessor.method. accessor should be a method name, instance variable name, or constant name. Use the full path to the constant if providing the constant name. Returns the name of the method defined.

class MyQueue
  CONST = 1
  extend Forwardable
  attr_reader :queue
  def initialize
    @queue = []
  end

  def_delegator :@queue, :push, :mypush
  def_delegator 'MyQueue::CONST', :to_i
end

q = MyQueue.new
q.mypush 42
q.queue    #=> [42]
q.push 23  #=> NoMethodError
q.to_i     #=> 1
No documentation available

Attach the list of comments to their respective locations in the tree.

No documentation available
No documentation available

Indicate if this NameTuple matches the current platform.

No documentation available
No documentation available

Returns true when it is possible and safe to update the cache directory.

No documentation available
No documentation available

Does a sanity check on the specification.

Raises InvalidSpecificationException if the spec does not pass the checks.

Only runs checks that are considered necessary for the specification to be functional.

No documentation available

Issues a warning for each file to be packaged which is world-readable.

Implementation for Specification#validate_permissions

No documentation available
No documentation available
No documentation available

Format a Time object as a String using the format specified by RFC 1123.

CGI.rfc1123_date(Time.now)
  # Sat, 01 Jan 2000 00:00:00 GMT
No documentation available

Message to promote available RubyGems update with related gem update command.

Check if --yjit-stats is used.

Discard statistics collected for --yjit-stats.

Search took: 5ms  ·  Total Results: 1499