diff --git a/lib/erb.rb b/lib/erb.rb index d88cce9..e72fe95 100644 --- a/lib/erb.rb +++ b/lib/erb.rb @@ -999,8 +999,9 @@ def result_with_hash(hash) # See [Default Binding][default binding]. # # Argument `symbols` is an array of symbols; - # each symbol `symbol` is used to define (unless already defined) a variable in the binding - # 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 + # defined within the binding. # # [default binding]: rdoc-ref:ERB@Default+Binding def new_toplevel(vars = nil)