Remove my own misleading comment

The `private` keyword does, in fact, make those instance methods
private. I think what I was trying to say is that the host class
(the class that VersionConcern is mixed into) will be able to use
these methods.  They *will* be private after being mixed in, but
they are not "api private", if that makes sense.

[ci skip]
This commit is contained in:
Jared Beck 2015-12-15 11:36:21 -05:00
parent 4e7a707cbe
commit df98728d2a
1 changed files with 0 additions and 3 deletions

View File

@ -255,9 +255,6 @@ module PaperTrail
@index ||= RecordHistory.new(sibling_versions, self.class).index(self)
end
# TODO: The `private` method has no effect here. Remove it?
# AFAICT it is not possible to have private instance methods in a mixin,
# though private *class* methods are possible.
private
# @api private