1 RADIANT_ROOT = File.expand_path(File.join(File.dirname(__FILE__), "..")) unless defined? RADIANT_ROOT 2 3 unless defined? Radiant::Version 4 module Radiant 5 module Version 6 Major = '1' 7 Minor = '0' 8 Tiny = '1' 9 Patch = nil # set to nil for normal release 10 11 class << self 12 def to_s 13 [Major, Minor, Tiny, Patch].delete_if{|v| v.nil? }.join('.') 14 end 15 alias :to_str :to_s 16 end 17 end 18 end 19 end