Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > bc75e49382dc9b94ff02ee45f6438cf2 > files > 187

ruby-actionmailer-2.3.4-1mdv2010.0.noarch.rpm

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
  <title>new (TMail::HeaderField)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
  <pre><span class="ruby-comment cmt"># File lib/action_mailer/vendor/tmail-1.2.3/tmail/header.rb, line 45</span>
      <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">new</span>( <span class="ruby-identifier">name</span>, <span class="ruby-identifier">body</span>, <span class="ruby-identifier">conf</span> = <span class="ruby-constant">DEFAULT_CONFIG</span> )
        <span class="ruby-identifier">klass</span> = <span class="ruby-constant">FNAME_TO_CLASS</span>[<span class="ruby-identifier">name</span>.<span class="ruby-identifier">downcase</span>] <span class="ruby-operator">||</span> <span class="ruby-constant">UnstructuredHeader</span>
        <span class="ruby-identifier">klass</span>.<span class="ruby-identifier">newobj</span> <span class="ruby-identifier">body</span>, <span class="ruby-identifier">conf</span>
      <span class="ruby-keyword kw">end</span></pre>
</body>
</html>