Module: Cmsimple

Defined in:
lib/cmsimple/rails.rb,
lib/cmsimple/version.rb,
app/models/cmsimple/page.rb,
app/models/cmsimple/path.rb,
app/models/cmsimple/image.rb,
app/models/cmsimple/region.rb,
lib/cmsimple/configuration.rb,
lib/cmsimple/regions_proxy.rb,
app/models/cmsimple/snippet.rb,
app/models/cmsimple/version.rb,
lib/cmsimple/page_responder.rb,
lib/cmsimple/template_resolver.rb,
lib/cmsimple/template_responder.rb,
app/helpers/cmsimple/regions_helper.rb,
app/controllers/cmsimple/front_controller.rb,
app/controllers/cmsimple/pages_controller.rb,
app/controllers/cmsimple/paths_controller.rb,
app/controllers/cmsimple/images_controller.rb,
app/controllers/cmsimple/mercury_controller.rb,
app/controllers/cmsimple/snippets_controller.rb,
app/controllers/cmsimple/versions_controller.rb

Defined Under Namespace

Modules: RegionsHelper Classes: Configuration, Engine, FrontController, Image, ImagesController, InstallGenerator, MercuryController, Page, PageResponder, PagesController, Path, PathsController, Region, RegionValueError, RegionsProxy, Snippet, SnippetGenerator, SnippetsController, TemplateResolver, TemplateResponder, Version, VersionsController

Constant Summary collapse

VERSION =
"0.2.3"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



56
57
58
# File 'lib/cmsimple/configuration.rb', line 56

def configuration
  @configuration
end

Class Method Details

.configure {|self.configuration| ... } ⇒ Object

Configure CMSimple

Yields:



60
61
62
63
# File 'lib/cmsimple/configuration.rb', line 60

def configure
  self.configuration ||= Configuration.new
  yield self.configuration
end