Module: Atreides
- Defined in:
- lib/atreides/version.rb,
lib/atreides.rb,
lib/atreides/engine.rb,
lib/atreides/base/base.rb,
lib/atreides/extendable.rb,
lib/atreides/i18n_helpers.rb,
lib/atreides/base/taggable.rb,
lib/atreides/base/aasmstates.rb,
lib/atreides/base/validation.rb,
lib/generators/atreides/atreides_generator.rb
Overview
Version string of the Atreides engine
Defined Under Namespace
Modules: AdminHelper, AdminHomeHelper, ApplicationHelper, Extendable, Generators, HomeHelper, I18nHelpers, PostsHelper Classes: Ability, AdminController, AdminHomeController, ApplicationController, Base, Configuration, ContentPart, Engine, FacebookUser, Feature, Github, HomeController, Like, LikesController, LineItem, Link, Message, Order, Page, PagesController, Photo, Post, PostsController, Preferences, Product, PublicController, Site, Size, Tag, Tweet, User, Video, Vote
Constant Summary collapse
- VERSION =
"2.0.4".freeze
Class Method Summary collapse
-
.configuration ⇒ Object
(also: config)
Accessor for Atreides::Configuration.
-
.configure {|configuration| ... } ⇒ Object
Modify configuration Example: Atreides.configure do |config| config.user_model = ‘MyUser’ end.
Class Method Details
.configuration ⇒ Object Also known as: config
Accessor for Atreides::Configuration
75 76 77 |
# File 'lib/atreides.rb', line 75 def configuration @configuration ||= Configuration.new end |
.configure {|configuration| ... } ⇒ Object
Modify configuration Example:
Atreides.configure do |config|
config.user_model = 'MyUser'
end
70 71 72 |
# File 'lib/atreides.rb', line 70 def configure yield configuration end |