Class: Bridgetown::Tags::LocalizationTag

Inherits:
Liquid::Tag
  • Object
show all
Defined in:
lib/bridgetown-core/tags/l.rb

Instance Method Summary collapse

Instance Method Details

#render(_context) ⇒ Object



6
7
8
9
# File 'lib/bridgetown-core/tags/l.rb', line 6

def render(_context)
  key = @markup.strip
  I18n.l(key)
end