Module: Icss::ReceiverModel::ActsAsCatalog
- Included in:
- Meta::License, Meta::Protocol, Meta::Source, Meta::Type
- Defined in:
- lib/icss/receiver_model/acts_as_catalog.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
-
#register(obj) ⇒ Object
Register object in class’s registry.
Class Method Details
.included(base) ⇒ Object
15 16 17 |
# File 'lib/icss/receiver_model/acts_as_catalog.rb', line 15 def self.included(base) base.extend(ClassMethods) end |
Instance Method Details
#register(obj) ⇒ Object
Register object in class’s registry
22 23 24 |
# File 'lib/icss/receiver_model/acts_as_catalog.rb', line 22 def register(obj) self.class.register(obj) end |