Method: Well::DSL#block
- Defined in:
- lib/well/dsl.rb
#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 |