Module: Nova::Common::Metadata

Included in:
Star
Defined in:
lib/nova/common/metadata.rb,
lib/nova/common/metadata/data.rb,
lib/nova/common/metadata/options.rb

Overview

Manages the metadata, such as required options, ruby versions, required platforms/versions, etc.

Defined Under Namespace

Modules: ClassMethods, InstanceMethods Classes: Data, Options

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

Parameters:

  • receiver (Object)


60
61
62
63
# File 'lib/nova/common/metadata.rb', line 60

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