Module: Atreides
- Defined in:
- lib/atreides/version.rb,
lib/atreides.rb,
lib/atreides/engine.rb,
lib/atreides/schema.rb,
lib/atreides/base/base.rb,
lib/atreides/time_zone.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, Schema, TimeZone Classes: Ability, AdminController, AdminHomeController, ApplicationController, Base, Configuration, ContentPart, Engine, FacebookUser, Feature, Github, HomeController, Like, LikesController, LineItem, Link, Message, Order, Page, PagesController, Photo, Post, PostsController, Preference, Product, PublicController, Site, Size, Tag, Tweet, User, Video, Vote
Constant Summary collapse
- VERSION =
"2.0.5".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
79 80 81 |
# File 'lib/atreides.rb', line 79 def configuration @configuration ||= Configuration.new end |
.configure {|configuration| ... } ⇒ Object
Modify configuration Example:
Atreides.configure do |config|
config.user_model = 'MyUser'
end
74 75 76 |
# File 'lib/atreides.rb', line 74 def configure yield configuration end |