Sha256: 5d1ebbca4132c373b528504cdf3e272e247c66146139c6d247554964ac55721f
Contents?: true
Size: 305 Bytes
Versions: 55
Compression:
Stored size: 305 Bytes
Contents
# frozen_string_literal: true require 'ostruct' module GoNative module Utils class ContentEvaluator class << self def call(content, values) o = OpenStruct.new(values) o.instance_eval('"' + content.gsub('"', '\\\\"') + '"') end end end end end
Version data entries
55 entries across 55 versions & 1 rubygems