Sha256: 0264019874c6a35a0b6f0d7ccb8773001077c8cfcea6a3c163b403b85ee4d6c9
Contents?: true
Size: 437 Bytes
Versions: 31
Compression:
Stored size: 437 Bytes
Contents
# == TemplateManager::ERB # # Renders ERB templates for TemplateManager. class AutomateIt::TemplateManager::ERB < AutomateIt::TemplateManager::BaseDriver depends_on :nothing def suitability(method, *args) # :nodoc: return 1 end # See documentation for TemplateManager#render def render(*options) return _render_helper(*options) do |o| HelpfulERB.new(o[:text], o[:filename]).result(o[:binder]) end end end
Version data entries
31 entries across 31 versions & 2 rubygems