mirror of
https://github.com/ms-ati/docile
synced 2023-03-27 23:21:52 -04:00
More complete documentation on Docile.dsl_eval.
This commit is contained in:
parent
fcdf0b82a1
commit
e0569470fe
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@ module Docile
|
|||
# #=> [1, 3]
|
||||
#
|
||||
# @param dsl [Object] an object whose methods represent a DSL
|
||||
# @param args [Array] arguments to be passed to the block
|
||||
# @param block [Proc] a block to execute in the DSL context
|
||||
# @return [Object] the dsl object, after execution of the block
|
||||
def dsl_eval(dsl, *args, &block)
|
||||
|
|
Loading…
Add table
Reference in a new issue