Module: Alula::LiquidExt::ClassMethods

Defined in:
lib/alula/core_ext/tag.rb

Instance Method Summary collapse

Instance Method Details

#register(tagname, klass) ⇒ Object



13
14
15
# File 'lib/alula/core_ext/tag.rb', line 13

def register(tagname, klass)
  Liquid::Template.register_tag(tagname.to_s, klass)
end