Module: Skyline

Defined in:
lib/skyline.rb,
lib/skyline/engine.rb,
lib/skyline/version.rb,
lib/skyline/cli/base.rb,
lib/skyline/cli/init.rb,
lib/skyline/deprecated/version3_0_8.rb

Overview

The Skyline contains all Skyline related (core) code and defines some methods like the root (path) and version of the Skyline core.

Defined Under Namespace

Modules: ApplicationHelper, BelongsToReferable, ButtonHelper, ContentItem, ContentItemSectionSelectable, DialogHelper, FormBuilderWithErrors, FormHelper, HasManyReferablesIn, JsLayoutHelper, Linkable, MenuHelper, PagesHelper, PluginHelper, Positionable, RefObjectHelper, Referable, Rendering, SectionItem, Settings, Taggable, TranslationHelper, UrlValidation Classes: Article, Configuration, Engine, FormBuilder, Page, PageFragment, Renderer, RouteConstraint, Site, Tag, User, UserPreference, Variant

Class Method Summary collapse

Class Method Details

.rootPathname

The root of the Skyline tree.

Returns:

  • (Pathname)


12
13
14
# File 'lib/skyline.rb', line 12

def root
  @@root ||= Pathname.new(File.dirname(__FILE__) + "/../")
end

.versionString

Shortcut for the current version

Returns:

  • (String)

    The current version in the format x.x.x.x (the BUILD version is optional)



20
21
22
# File 'lib/skyline.rb', line 20

def version
  Skyline::VERSION::STRING
end