Module: Skyline
- Defined in:
- lib/skyline.rb,
lib/skyline/version.rb,
lib/skyline/cli/base.rb,
lib/skyline/cli/init.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, ButtonHelper, Cli, ContentHelper, ContentItem, ContentItemSectionSelectable, Editors, MediaFilesHelper, PagesHelper, Positionable, RefObjectHelper, Referable, RenderableScopeInterface, Rendering, SearchableItem, SectionItem, Settings, Taggable, TranslationHelper, TreeHelper, UrlValidation, UsersHelper Classes: Article, ArticleVersion, AssociatedTag, Configuration, FormBuilderWithErrors, Grant, ImageRef, InlineRef, LinkRef, LinkSectionLink, MediaCache, MediaDir, MediaFile, MediaNode, ObjectRef, Page, PageFragment, Publication, RefObject, ReferableUri, RenderableScope, Renderer, Right, Role, Section, Site, Tag, User, Variant, WildcardRenderableScope
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.
9 10 11 |
# File 'lib/skyline.rb', line 9 def root @@root ||= Pathname.new(File.dirname(__FILE__) + "/../") end |
.version ⇒ String
Shortcut for the current version
17 18 19 |
# File 'lib/skyline.rb', line 17 def version Skyline::VERSION::STRING end |