class KuberKit::Preprocessing::TextPreprocessor
Public Instance Methods
compile(template, context_helper: nil)
click to toggle source
# File lib/kuber_kit/preprocessing/text_preprocessor.rb, line 4 def compile(template, context_helper: nil) ERB.new(template, nil, '-').result(context_helper&.get_binding) end