Sha256: 849013ac81129c5e08dcac5848e0027f4655286563f37719cc923cc8ccfac6a1

Contents?: true

Size: 487 Bytes

Versions: 1

Compression:

Stored size: 487 Bytes

Contents

RADIANT_ROOT = File.expand_path(File.join(File.dirname(__FILE__), "..")) unless defined? RADIANT_ROOT

unless defined? Radiant::Version
  module Radiant
    module Version
      Major = '0'
      Minor = '6'
      Tiny  = '1'
    
      class << self
        def to_s
          [Major, Minor, Tiny].join('.')
        end
        alias :to_str :to_s
      end
    end
    
    class << self
      def loaded_via_gem?
        !!(__FILE__ =~ %r{/gems/})        
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
radiant-0.6.1 lib/radiant.rb