More complete documentation on Docile.dsl_eval.
This commit is contained in:
parent
fcdf0b82a1
commit
e0569470fe
|
@ -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…
Reference in New Issue