~ubuntu-branches/ubuntu/trusty/hyperestraier/trusty-proposed

« back to all changes in this revision

Viewing changes to doc/rubypureapi/classes/EstraierPure/Condition.src/M000044.html

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2006-11-14 05:28:32 UTC
  • mfrom: (2.1.4 feisty)
  • Revision ID: james.westby@ubuntu.com-20061114052832-0lzqzcefn8mt4yqe
Tags: 1.4.9-1.1
* Non-maintainer upload.
* High-urgency upload for RC bugfix.
* Set HOME=$(CURDIR)/junkhome when building, otherwise the package build
  will incorrectly look for headers there -- and fail when the directory
  exists and is unreadable, as happens sometimes on sudo-using
  autobuilders!

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 
6
6
<html>
7
7
<head>
8
 
  <title>order (EstraierPure::Condition)</title>
 
8
  <title>add_attr (EstraierPure::Condition)</title>
9
9
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
10
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
11
</head>
12
12
<body class="standalone-code">
13
 
  <pre><span class="ruby-comment cmt"># File estraierpure.rb, line 264</span>
14
 
    <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">order</span>()
15
 
      <span class="ruby-ivar">@order</span>
 
13
  <pre><span class="ruby-comment cmt"># File estraierpure.rb, line 271</span>
 
14
    <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_attr</span>(<span class="ruby-identifier">expr</span>)
 
15
      <span class="ruby-constant">Utility</span><span class="ruby-operator">::</span><span class="ruby-identifier">check_types</span>({ <span class="ruby-identifier">expr</span>=<span class="ruby-operator">&gt;</span><span class="ruby-constant">String</span> }) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">$DEBUG</span>
 
16
      <span class="ruby-identifier">expr</span> = <span class="ruby-identifier">expr</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/[ \t\r\n\v\f]+/</span>, <span class="ruby-value str">&quot; &quot;</span>)
 
17
      <span class="ruby-identifier">expr</span> = <span class="ruby-identifier">expr</span>.<span class="ruby-identifier">strip</span>.<span class="ruby-identifier">squeeze</span>(<span class="ruby-value str">&quot; &quot;</span>)
 
18
      <span class="ruby-ivar">@attrs</span>.<span class="ruby-identifier">push</span>(<span class="ruby-identifier">expr</span>)
 
19
      <span class="ruby-keyword kw">nil</span>
16
20
    <span class="ruby-keyword kw">end</span></pre>
17
21
</body>
18
22
</html>
 
 
b'\\ No newline at end of file'