instance method
ERB#make_compiler
make_compiler → erb_compiler
lib/erb.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/erb.rb, line 853
def make_compiler(trim_mode)
ERB::Compiler.new(trim_mode)
end
Returns a new ERB::Compiler with the given trim_mode; for trim_mode values, see ERB.new:
Example
ERB.new('').make_compiler(nil) # => #<ERB::Compiler:0x000001cff9467678 @insert_cmd="print", @percent=false, @post_cmd=[], @pre_cmd=[], @put_cmd="print", @trim_mode=nil>