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
-
.included(receiver) ⇒ void
private
Called when Metadata 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::Metadata is included. Extends what included it by ClassMethods, and includes InstanceMethods.
60 61 62 63 |
# File 'lib/nova/common/metadata.rb', line 60 def self.included(receiver) receiver.extend ClassMethods receiver.send :include, InstanceMethods end |