Module: ModulePlus::Attribute::IncludeGuard
- Included in:
- ExtendOnly
- Defined in:
- lib/module_plus/attribute.rb
Instance Method Summary collapse
Instance Method Details
#included(klass) ⇒ Object
15 16 17 |
# File 'lib/module_plus/attribute.rb', line 15 def included(klass) raise NotPermittedToInclude, "#{self.name} by #{klass}" end |