method
render
v8.1.1 -
Show latest stable
- Class:
ActiveSupport::ConfigurationFile
render(context)private
No documentation available.
# File activesupport/lib/active_support/configuration_file.rb, line 54
def render(context)
require "erb" unless defined?(ERB)
erb = ERB.new(@content).tap { |e| e.filename = @content_path }
context ? erb.result(context) : erb.result
end