Sha256: ae7f1a75d527f8e4d9365df9579d945a209dfc42ca151ba016ae707025a20a43
Contents?: true
Size: 369 Bytes
Versions: 42
Compression:
Stored size: 369 Bytes
Contents
# Add custom functions to this module that you want to use in your Slim # templates. Within the template you must namespace the function # (unless someone can show me how to include them in the evaluation context). # You can change the namespace to whatever you want. module Helpers def self.capture_output(*args, &block) Proc.new { block.call(*args) } end end
Version data entries
42 entries across 21 versions & 1 rubygems