Module: Well::DSL
- Defined in:
- lib/well/dsl.rb
Overview
The module used as the entry point to the Well DSL. This is included in ActionView::Base.
Instance Method Summary collapse
-
#block(*args) { ... } ⇒ Object
Creates a new Block, passing all arguments through.
Instance Method Details
#block(*args) { ... } ⇒ Object
Creates a new Block, passing all arguments through.
7 8 9 |
# File 'lib/well/dsl.rb', line 7 def block(*args, &content) Block.new(*args).evaluate(&content) end |