Class: Context::Attr

Inherits:
Hash
  • Object
show all
Defined in:
lib/html2email/context.rb

Instance Method Summary collapse

Instance Method Details

#to_sObject



13
14
15
16
17
# File 'lib/html2email/context.rb', line 13

def to_s
  self.map { |k,v|
    "#{Rack::Utils.escape_html k}='#{Rack::Utils.escape_html v}'"
  }.join(' ')
end