Module: Ronin::Core::Metadata::Version

Defined in:
lib/ronin/core/metadata/version.rb

Overview

Adds a version metadata attribute to a class.

Example

class MyModule

  include Ronin::Core::Metadata::Version

  version '0.2'

end

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

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.

Adds ClassMethods to the class.

Parameters:



45
46
47
# File 'lib/ronin/core/metadata/version.rb', line 45

def self.included(base)
  base.extend ClassMethods
end