Class: ActiveMail::Components::Inky

Inherits:
Base
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/activemail/components/inky.rb

Overview

Renders a bare <tr>, useful inside hand-written tables.

Constant Summary

Constants inherited from Base

Base::IGNORED_ON_PASSTHROUGH, Base::TABLE_RESET

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from ActiveMail::Components::Base

Instance Method Details

#transform(_node, inner) ⇒ Object



13
14
15
# File 'lib/activemail/components/inky.rb', line 13

def transform(_node, inner)
  %(<tr>#{inner}</tr>)
end