Class: Bridgetown::Tags::TranslationTag
- Inherits:
-
Liquid::Tag
- Object
- Liquid::Tag
- Bridgetown::Tags::TranslationTag
- Defined in:
- lib/bridgetown-core/tags/t.rb
Instance Method Summary collapse
Instance Method Details
#render(_context) ⇒ Object
6 7 8 9 |
# File 'lib/bridgetown-core/tags/t.rb', line 6 def render(_context) key = @markup.strip I18n.t(key) end |