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
-
.root ⇒ Pathname
The root of the Skyline tree.
-
.version ⇒ String
Shortcut for the current version.
Class Method Details
.root ⇒ Pathname
The root of the Skyline tree.
12 13 14 |
# File 'lib/skyline.rb', line 12 def root @@root ||= Pathname.new(File.dirname(__FILE__) + "/../") end |
.version ⇒ String
Shortcut for the current version
20 21 22 |
# File 'lib/skyline.rb', line 20 def version Skyline::VERSION::STRING end |