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
1 changed files with 1 additions and 0 deletions

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)