Module: Blocks
- Defined in:
- lib/blocks.rb,
lib/blocks/base.rb,
lib/blocks/version.rb,
lib/blocks/container.rb,
lib/blocks/view_additions.rb,
lib/blocks/controller_additions.rb
Defined Under Namespace
Modules: ControllerAdditions, ViewAdditions Classes: Base, Container
Constant Summary collapse
- VERSION =
"2.8.0"- @@config =
Hashie::Mash.new
Class Method Summary collapse
-
.setup {|config| ... } ⇒ Object
Default way to setup Blocks.
Class Method Details
.setup {|config| ... } ⇒ Object
Default way to setup Blocks
20 21 22 |
# File 'lib/blocks.rb', line 20 def self.setup yield config end |