Module: VestalVersions::Tagging

Defined in:
lib/vestal_versions/tagging.rb

Overview

Allows specific versions to be tagged with a custom string. Useful for assigning a more meaningful value to a version for the purpose of reversion.

Defined Under Namespace

Modules: InstanceMethods, VersionMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

:nodoc:



5
6
7
8
9
10
11
# File 'lib/vestal_versions/tagging.rb', line 5

def self.included(base) # :nodoc:
  Version.send(:include, VersionMethods)

  base.class_eval do
    include InstanceMethods
  end
end