Sha256: 9b750d51168c6d72e521cd263cb245d2129dbfb9db265b28ee8f8eceff9c7b15
Contents?: true
Size: 436 Bytes
Versions: 5
Compression:
Stored size: 436 Bytes
Contents
module Snipp module ActionViewExtension def self.included(base) # Include HTML meta module base.send :include, Snipp::Markup::Html # Include markup module name = "#{Snipp.config.markup}".camelize raise NotImplementedError, "#{name} is invalid. Specify correct Snipp.config.markup." unless Snipp::Markup.const_defined? name base.send :include, Snipp::Markup.const_get(name) end end end
Version data entries
5 entries across 5 versions & 1 rubygems