Sha256: 43e92fc469fa02da2d179cba7352a5733581bbbbbbc498a061df1e8acfad019c

Contents?: true

Size: 615 Bytes

Versions: 4

Compression:

Stored size: 615 Bytes

Contents

require 'pathname'
require File.dirname(__FILE__) + "/skyline/version"

# The Skyline contains all Skyline related (core) code and
# defines some methods like the root (path) and version
# of the Skyline core.
module Skyline
  
  # The root of the Skyline tree.
  #
  # @return [Pathname] 
  def root
    @@root ||= Pathname.new(File.dirname(__FILE__) + "/../")
  end
  module_function :root
  
  # Shortcut for the current version
  #
  # @return [String] The current version in the format x.x.x.x (the BUILD version is optional)
  def version
    Skyline::VERSION::STRING
  end
  module_function :version  
  
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
skylinecms-3.1.0 lib/skyline.rb
westarete-skylinecms-3.0.8.20100329 lib/skyline.rb
westarete-skylinecms-3.0.8.20100330 lib/skyline.rb
skylinecms-3.0.8 lib/skyline.rb