Skip to content

Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →

instance method

ERB#new_toplevel

new_toplevel(vars = nil)

Returns a new binding each time near TOPLEVEL_BINDING for runs that do not specify a binding.