Sha256: 740dc97c9e997b9cccae4f8315783e47cb6fe09b2e9b4c2d2770c2575da41be9
Contents?: true
Size: 264 Bytes
Versions: 30
Compression:
Stored size: 264 Bytes
Contents
module Alula class LocaleTag < Block def prepare @lang = @markup.strip end def render(context) if @lang == context.locale super else '' end end end end Alula::Tag.register :locale, Alula::LocaleTag
Version data entries
30 entries across 30 versions & 1 rubygems