Class: Txbr::Liquid::AbortMessageTag

Inherits:
Liquid::Tag
  • Object
show all
Defined in:
lib/txbr/liquid/abort_message_tag.rb

Overview

Used to stand in for the special Braze abort_message(…) % tag. Renders as an empty string.

Instance Method Summary collapse

Constructor Details

#initialize(_tag_name, _arg, _context = nil) ⇒ AbortMessageTag

Returns a new instance of AbortMessageTag.



8
9
# File 'lib/txbr/liquid/abort_message_tag.rb', line 8

def initialize(_tag_name, _arg, _context = nil)
end

Instance Method Details

#render(_context) ⇒ Object



11
12
13
# File 'lib/txbr/liquid/abort_message_tag.rb', line 11

def render(_context)
  ''
end