diff options
| -rw-r--r-- | lib/erb.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/erb.rb b/lib/erb.rb index d88cce9f4b..e72fe95572 100644 --- a/lib/erb.rb +++ b/lib/erb.rb @@ -999,8 +999,9 @@ class ERB # 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) |
