Sha256: eb29a2ed39453ef5d45bc664f610824bc8aee78c2f4e048519a394a6d183a616
Contents?: true
Size: 745 Bytes
Versions: 15
Compression:
Stored size: 745 Bytes
Contents
require 'gems/client' require 'gems/configuration' module Gems extend Configuration class << self # Alias for Gems::Client.new # # @return [Gems::Client] def new(options = {}) Gems::Client.new(options) end # Delegate to Gems::Client def method_missing(method, *args, &block) return super unless new.respond_to?(method) new.send(method, *args, &block) end def respond_to?(method_name, include_private = false) new.respond_to?(method_name, include_private) || super(method_name, include_private) end def respond_to_missing?(method_name, include_private = false) new.respond_to?(method_name, include_private) || super(method_name, include_private) end end end
Version data entries
15 entries across 15 versions & 3 rubygems