Module: SofaBlog
- Defined in:
- lib/sofa_blog.rb,
lib/sofa_blog/engine.rb,
lib/sofa_blog/configuration.rb
Defined Under Namespace
Modules: PostsHelper
Classes: Comment, Configuration, Engine, FormBuilder, Post, PostsController, Tag, Tagging
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
Also known as:
config
16
17
18
|
# File 'lib/sofa_blog.rb', line 16
def configuration
@configuration ||= Configuration.new
end
|
12
13
14
|
# File 'lib/sofa_blog.rb', line 12
def configure
yield configuration
end
|