Sha256: 06c43e330390cdc1ddf7156088e802b3a7a75ccc573afb8356c0ca100f98bfa4

Contents?: true

Size: 394 Bytes

Versions: 6982

Compression:

Stored size: 394 Bytes

Contents

# frozen_string_literal: true
module Rake

  # Include PrivateReader to use +private_reader+.
  module PrivateReader           # :nodoc: all

    def self.included(base)
      base.extend(ClassMethods)
    end

    module ClassMethods

      # Declare a list of private accessors
      def private_reader(*names)
        attr_reader(*names)
        private(*names)
      end
    end

  end
end

Version data entries

6,982 entries across 6,870 versions & 99 rubygems

Version Path
mux_ruby-3.20.0 vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/private_reader.rb
cybrid_api_bank_ruby-0.123.12 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/private_reader.rb
cybrid_api_organization_ruby-0.123.12 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/private_reader.rb
cybrid_api_id_ruby-0.123.12 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/private_reader.rb
cybrid_api_bank_ruby-0.123.11 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/private_reader.rb
cybrid_api_organization_ruby-0.123.11 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/private_reader.rb
cybrid_api_id_ruby-0.123.11 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/private_reader.rb
cybrid_api_id_ruby-0.123.10 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/private_reader.rb
cybrid_api_bank_ruby-0.123.10 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/private_reader.rb
cybrid_api_organization_ruby-0.123.10 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/private_reader.rb
cybrid_api_organization_ruby-0.123.7 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/private_reader.rb
cybrid_api_id_ruby-0.123.7 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/private_reader.rb
cybrid_api_bank_ruby-0.123.7 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/private_reader.rb
ory-client-1.15.12 vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/private_reader.rb
cybrid_api_bank_ruby-0.123.4 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/private_reader.rb
cybrid_api_id_ruby-0.123.4 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/private_reader.rb
cybrid_api_organization_ruby-0.123.4 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/private_reader.rb
cybrid_api_bank_ruby-0.123.3 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/private_reader.rb
cybrid_api_organization_ruby-0.123.3 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/private_reader.rb
cybrid_api_id_ruby-0.123.3 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/private_reader.rb