Module: Rake::PrivateReader::ClassMethods

Defined in:
lib/rake/private_reader.rb

Instance Method Summary collapse

Instance Method Details

#private_reader(*names) ⇒ Object

Declare a list of private accessors



14
15
16
17
# File 'lib/rake/private_reader.rb', line 14

def private_reader(*names)
  attr_reader(*names)
  private(*names)
end