ruby: add :nodoc: comment for internal methods

This way they are ignored by rdoc.