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
cybrid_api_bank_ruby-0.122.58 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/private_reader.rb
cybrid_api_organization_ruby-0.122.58 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/private_reader.rb
cybrid_api_id_ruby-0.122.58 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/private_reader.rb
cybrid_api_id_ruby-0.122.57 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/private_reader.rb
cybrid_api_bank_ruby-0.122.57 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/private_reader.rb
cybrid_api_organization_ruby-0.122.57 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/private_reader.rb
cybrid_api_id_ruby-0.122.54 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/private_reader.rb
cybrid_api_bank_ruby-0.122.54 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/private_reader.rb
cybrid_api_organization_ruby-0.122.54 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/private_reader.rb
cybrid_api_bank_ruby-0.122.53 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/private_reader.rb
cybrid_api_organization_ruby-0.122.53 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/private_reader.rb
cybrid_api_id_ruby-0.122.53 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/private_reader.rb
cybrid_api_id_ruby-0.122.52 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/private_reader.rb
cybrid_api_bank_ruby-0.122.52 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/private_reader.rb
cybrid_api_organization_ruby-0.122.52 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/private_reader.rb
cybrid_api_bank_ruby-0.122.51 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/private_reader.rb
cybrid_api_organization_ruby-0.122.51 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/private_reader.rb
cybrid_api_id_ruby-0.122.51 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/private_reader.rb
cybrid_api_bank_ruby-0.122.49 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/private_reader.rb
cybrid_api_id_ruby-0.122.49 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/private_reader.rb