Class: Unparser::Concord::Public
- Inherits:
-
Unparser::Concord
- Object
- Module
- Unparser::Concord
- Unparser::Concord::Public
- Defined in:
- lib/unparser/concord.rb
Overview
Mixin for public attribute readers
Constant Summary
Constants inherited from Unparser::Concord
Instance Attribute Summary
Attributes inherited from Unparser::Concord
Instance Method Summary collapse
-
#included(descendant) ⇒ undefined
private
Hook called when module is included.
Instance Method Details
#included(descendant) ⇒ undefined
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Hook called when module is included
107 108 109 110 111 |
# File 'lib/unparser/concord.rb', line 107 def included(descendant) names.each do |name| descendant.__send__(:public, name) end end |