Module: Nova::Common::Features

Included in:
Star
Defined in:
lib/nova/common/features.rb,
lib/nova/common/features/feature.rb

Overview

The features that the star has. These are optional behaviors that are defined on the stars, but if they are implemented they should follow around the same behaviours of other features implemented on other stars with the same name.

Defined Under Namespace

Modules: ClassMethods, InstanceMethods Classes: Feature

Class Method Summary collapse

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::Features is included. Extends what included it by ClassMethods, and includes InstanceMethods.

Parameters:

  • receiver (Object)


87
88
89
90
# File 'lib/nova/common/features.rb', line 87

def self.included(receiver)
  receiver.extend         ClassMethods
  receiver.send :include, InstanceMethods
end