Module: MailStyle::InlineStyles

Defined in:
lib/mail_style/sass_support.rb,
lib/mail_style/inline_styles.rb

Defined Under Namespace

Modules: InstanceMethods

Constant Summary collapse

DOCTYPE =
'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'

Class Method Summary collapse

Class Method Details

.included(receiver) ⇒ Object



201
202
203
204
205
206
207
# File 'lib/mail_style/inline_styles.rb', line 201

def self.included(receiver)
  receiver.send :include, InstanceMethods
  receiver.class_eval do
    adv_attr_accessor :css
    alias_method_chain :create_mail, :inline_styles
  end
end