Module: Nova::Common::StarManagement
- Included in:
- Star
- Defined in:
- lib/nova/common/star_management.rb
Overview
Manages types of stars. Adds a star_type method to subclasses to add it to the type list.
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
-
.included(receiver) ⇒ void
private
Called when StarManagement is included.
Class Method Details
.included(receiver) ⇒ void
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.
This method returns an undefined value.
Called when Nova::Common::StarManagement is included. Extends what included it by ClassMethods, and includes InstanceMethods.
171 172 173 174 |
# File 'lib/nova/common/star_management.rb', line 171 def self.included(receiver) receiver.send :include, InstanceMethods receiver.extend ClassMethods end |