Sha256: 8bcc8b3d0b7fcf718325992742df85e38f044f71250ee58104c192a2d7862e3c
Contents?: true
Size: 236 Bytes
Versions: 13
Compression:
Stored size: 236 Bytes
Contents
# frozen_string_literal: true require 'ehbrs/patches/object/template' require 'erb' class Module def erb_template(subpath, binding_obj) ::ERB.new(template.child(subpath).path.read) .result binding_obj.binding end end
Version data entries
13 entries across 13 versions & 1 rubygems