We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e687940 commit f37d42fCopy full SHA for f37d42f
1 file changed
lib/erb.rb
@@ -999,8 +999,9 @@ def result_with_hash(hash)
999
# See [Default Binding][default binding].
1000
#
1001
# Argument `symbols` is an array of symbols;
1002
- # each symbol `symbol` is used to define (unless already defined) a variable in the binding
1003
- # whose name is `symbol` and whose value is `nil`.
+ # each symbol `symbol` is defined as a new variable to hide and
+ # prevent it from overwriting a variable of the same name already
1004
+ # defined within the binding.
1005
1006
# [default binding]: rdoc-ref:ERB@Default+Binding
1007
def new_toplevel(vars = nil)
0 commit comments