Module: Skyline
- Defined in:
- lib/skyline.rb,
lib/skyline/version.rb,
lib/skyline/cli/base.rb,
lib/skyline/cli/init.rb,
lib/skyline/deprecated.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, Content, ContentItem, ContentItemSectionSelectable, FormBuilderWithErrors, HasManyReferablesIn, PagesHelper, Positionable, RefObjectHelper, Referable, Rendering, SectionItem, Settings, Taggable, TranslationHelper, UrlValidation Classes: Article, Configuration, FormBuilder, Page, PageFragment, Renderer, Site, Tag, User, 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 |