~ubuntu-branches/ubuntu/saucy/ruby-erubis/saucy

« back to all changes in this revision

Viewing changes to doc-api/classes/Erubis/PI/Eruby.html

  • Committer: Package Import Robot
  • Author(s): Laurent Bigonville
  • Date: 2012-01-26 15:15:58 UTC
  • Revision ID: package-import@ubuntu.com-20120126151558-9u7mnf9ooqnw3bwz
Tags: upstream-2.7.0
ImportĀ upstreamĀ versionĀ 2.7.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="iso-8859-1"?>
 
2
<!DOCTYPE html 
 
3
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 
4
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
5
 
 
6
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 
7
<head>
 
8
  <title>Class: Erubis::PI::Eruby</title>
 
9
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
 
10
  <meta http-equiv="Content-Script-Type" content="text/javascript" />
 
11
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
 
12
  <script type="text/javascript">
 
13
  // <![CDATA[
 
14
 
 
15
  function popupCode( url ) {
 
16
    window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
 
17
  }
 
18
 
 
19
  function toggleCode( id ) {
 
20
    if ( document.getElementById )
 
21
      elem = document.getElementById( id );
 
22
    else if ( document.all )
 
23
      elem = eval( "document.all." + id );
 
24
    else
 
25
      return false;
 
26
 
 
27
    elemStyle = elem.style;
 
28
    
 
29
    if ( elemStyle.display != "block" ) {
 
30
      elemStyle.display = "block"
 
31
    } else {
 
32
      elemStyle.display = "none"
 
33
    }
 
34
 
 
35
    return true;
 
36
  }
 
37
  
 
38
  // Make codeblocks hidden by default
 
39
  document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
 
40
  
 
41
  // ]]>
 
42
  </script>
 
43
 
 
44
</head>
 
45
<body>
 
46
 
 
47
 
 
48
 
 
49
    <div id="classHeader">
 
50
        <table class="header-table">
 
51
        <tr class="top-aligned-row">
 
52
          <td><strong>Class</strong></td>
 
53
          <td class="class-name-in-header">Erubis::PI::Eruby</td>
 
54
        </tr>
 
55
        <tr class="top-aligned-row">
 
56
            <td><strong>In:</strong></td>
 
57
            <td>
 
58
                <a href="../../../files/erubis/engine/eruby_rb.html">
 
59
                erubis/engine/eruby.rb
 
60
                </a>
 
61
        <br />
 
62
            </td>
 
63
        </tr>
 
64
 
 
65
        <tr class="top-aligned-row">
 
66
            <td><strong>Parent:</strong></td>
 
67
            <td>
 
68
                PI::Engine
 
69
            </td>
 
70
        </tr>
 
71
        </table>
 
72
    </div>
 
73
  <!-- banner header -->
 
74
 
 
75
  <div id="bodyContent">
 
76
 
 
77
 
 
78
 
 
79
  <div id="contextContent">
 
80
 
 
81
 
 
82
 
 
83
   </div>
 
84
 
 
85
    <div id="method-list">
 
86
      <h3 class="section-bar">Methods</h3>
 
87
 
 
88
      <div class="name-list">
 
89
      <a href="#M000050">init_converter</a>&nbsp;&nbsp;
 
90
      </div>
 
91
    </div>
 
92
 
 
93
  </div>
 
94
 
 
95
 
 
96
    <!-- if includes -->
 
97
    <div id="includes">
 
98
      <h3 class="section-bar">Included Modules</h3>
 
99
 
 
100
      <div id="includes-list">
 
101
        <span class="include-name"><a href="../RubyEvaluator.html">RubyEvaluator</a></span>
 
102
        <span class="include-name"><a href="../RubyGenerator.html">RubyGenerator</a></span>
 
103
      </div>
 
104
    </div>
 
105
 
 
106
    <div id="section">
 
107
 
 
108
 
 
109
 
 
110
 
 
111
 
 
112
      
 
113
 
 
114
 
 
115
    <!-- if method_list -->
 
116
    <div id="methods">
 
117
      <h3 class="section-bar">Public Instance methods</h3>
 
118
 
 
119
      <div id="method-M000050" class="method-detail">
 
120
        <a name="M000050"></a>
 
121
 
 
122
        <div class="method-heading">
 
123
          <a href="#M000050" class="method-signature">
 
124
          <span class="method-name">init_converter</span><span class="method-args">(properties={})</span>
 
125
          </a>
 
126
        </div>
 
127
      
 
128
        <div class="method-description">
 
129
          <p><a class="source-toggle" href="#"
 
130
            onclick="toggleCode('M000050-source');return false;">[Source]</a></p>
 
131
          <div class="method-source-code" id="M000050-source">
 
132
<pre>
 
133
<span class="ruby-comment cmt"># File erubis/engine/eruby.rb, line 117</span>
 
134
    <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">init_converter</span>(<span class="ruby-identifier">properties</span>={})
 
135
      <span class="ruby-ivar">@pi</span> = <span class="ruby-value str">'rb'</span>
 
136
      <span class="ruby-keyword kw">super</span>(<span class="ruby-identifier">properties</span>)
 
137
    <span class="ruby-keyword kw">end</span>
 
138
</pre>
 
139
          </div>
 
140
        </div>
 
141
      </div>
 
142
 
 
143
 
 
144
    </div>
 
145
 
 
146
 
 
147
  </div>
 
148
 
 
149
 
 
150
<div id="validator-badges">
 
151
  <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
 
152
</div>
 
153
 
 
154
</body>
 
155
</html>
 
 
b'\\ No newline at end of file'