module Nova::Common::StarManagement
Manages types of stars. Adds a star_type
method to subclasses to add it to the type list.
Public Class Methods
included(receiver)
click to toggle source
Called when {StarManagement} is included. Extends what included it by {ClassMethods}, and includes {InstanceMethods}.
@param receiver [Object] @return [void] @api private
# File lib/nova/common/star_management.rb, line 171 def self.included(receiver) receiver.send :include, InstanceMethods receiver.extend ClassMethods end