1
0
Fork 0
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:
doop 2013-04-02 00:40:26 +04:00
parent fcdf0b82a1
commit e0569470fe

View file

@ -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)