Sha256: 01b27dc240e6c8f8a9d2628455205ad016d4bc9daef61551cf0490da6f6b8d2b
Contents?: true
Size: 219 Bytes
Versions: 5
Compression:
Stored size: 219 Bytes
Contents
module Esvg::Helpers def embed_svgs(*keys) Esvg.embed(keys) end def use_svg(name, options={}, &block) options[:content] = capture(&block).html_safe if block_given? Esvg.use(name, options) end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
esvg-4.2.4 | lib/esvg/helpers.rb |
esvg-4.2.3 | lib/esvg/helpers.rb |
esvg-4.2.2 | lib/esvg/helpers.rb |
esvg-4.2.1 | lib/esvg/helpers.rb |
esvg-4.2.0 | lib/esvg/helpers.rb |