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


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

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