Sophie

Sophie

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

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>format_style= (Text::Format)</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/text-format-0.6.3/text/format.rb, line 544</span>
    <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">format_style=</span>(<span class="ruby-identifier">fs</span>)
      <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-value str">&quot;Invalid value provided for format_style.&quot;</span> <span class="ruby-keyword kw">if</span> ((<span class="ruby-identifier">fs</span> <span class="ruby-operator">&lt;</span> <span class="ruby-constant">LEFT_ALIGN</span>) <span class="ruby-operator">||</span> (<span class="ruby-identifier">fs</span> <span class="ruby-operator">&gt;</span> <span class="ruby-constant">JUSTIFY</span>))
      <span class="ruby-ivar">@format_style</span> = <span class="ruby-identifier">fs</span>
    <span class="ruby-keyword kw">end</span></pre>
</body>
</html>