Sha256: a8d4d92ddcea291099608de6b080332fc3e038548d0d1b9f248681982974ea6e
Contents?: true
Size: 370 Bytes
Versions: 85
Compression:
Stored size: 370 Bytes
Contents
## # Allows an ERB template to be rendered in the context (binding) of an # existing ERB template evaluation. class RDoc::ERBPartial < ERB ## # Overrides +compiler+ startup to set the +eoutvar+ to an empty string only # if it isn't already set. def set_eoutvar compiler, eoutvar = '_erbout' super compiler.pre_cmd = ["#{eoutvar} ||= ''"] end end
Version data entries
85 entries across 55 versions & 6 rubygems