Actions
Feature #10863
openallow protected class methods to be callable from instance methods
Status:
Open
Assignee:
-
Target version:
-
Description
class Bar
class << self
protected def foo_helper
end
end
def foo
self.class.foo_helper
end
end
here, Bar::foo_helper is not intended as the api of the class, it's a helper for internal use so it should be possible to use it internally without making it public or resorting to send
Actions
Like0
Like0