class Module

Public Instance Methods

is_versioned() click to toggle source

Automagically sets a VERSION constant in the current module according to the results of Version.current.

# File lib/version/ext/module.rb, line 8
def is_versioned
  const_set :VERSION, Version.current(File.dirname(caller.first))
end