forked from fcoury/octopi
/
IssueSet.html
188 lines (149 loc) · 5.36 KB
/
IssueSet.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="style.css" type="text/css" charset="utf-8" />
<link rel="stylesheet" href="custom.css" type="text/css" charset="utf-8" />
<link rel="stylesheet" href="syntax_highlight.css" type="text/css" charset="utf-8" />
<script src="jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="app.js" type="text/javascript" charset="utf-8"></script>
<title>Class: IssueSet</title>
</head>
<body>
<div id="content">
<div class="section class IssueSet">
<h1 class="title">Class: IssueSet</h1>
<div class="section inheritance">
<ul>
<li>Array</li><ul><li>IssueSet</li>
</ul></ul>
</div><div class="section mixins">
<h1>Included Modules</h1>
<p><a href="IssueSet/Octopi.html" title="Octopi">Octopi</a></p>
</div>
<div class="section attributes">
<h1>Attributes</h1>
<div class="instance">
<h2>Instance Attributes</h2>
<table>
<tr class="">
<th class='signature'>
<span class='name'>repository</span>
</td>
<td class="readwrite">
[<span id='repository-instance_method'>R</span><span id='repository=-instance_method'>W</span>]
</td>
<td class="visibility">
public
</td>
<td class="docstring">
<p>
Sets the attribute <tt>repository</tt>.
</p>
</td>
</tr>
<tr class="">
<th class='signature'>
<span class='name'>user</span>
</td>
<td class="readwrite">
[<span id='user-instance_method'>R</span><span id='user=-instance_method'>W</span>]
</td>
<td class="visibility">
public
</td>
<td class="docstring">
<p>
Sets the attribute <tt>user</tt>.
</p>
</td>
</tr>
</table>
</div>
</div>
<div class="section constants">
</div> <div class="section visibilitygroup public">
<h1>Public Visibility</h1>
<div class="section methodsummary instance public">
<h1>Public Instance Method Summary</h1>
<table class="summary">
<tr>
<th class="signature">
<span class='overload'>
<span class='name'><a href="#find-instance_method" title="#find">#find</a></span><span class='args'>(number)</span>
<span class='block'></span>
</span>
</th>
<td class="docstring">
</td>
</tr>
</table>
</div>
<div class="section methoddetails instance public">
<h1>Public Instance Method Details</h1>
<div class="method">
<div class="method_header">
<h3>find</h3>
</div><div id="find-instance_method" class="section method">
<div class="details_title">
<div class='section methodsignature'>
<tt class='def'>
<span class='visibility'>public</span>
<span class='return_types'></span>
<span class='name'>find</span><span class='args'>(number)</span>
<span class='block'></span>
</tt>
</div>
</div><div class="section tags">
<h2>Meta Tags</h2>
<div class="raise">
<h3>Raises:</h3>
<dl>
<dt>
<span class='type'>[<tt><a href="Octopi/NotFound.html" title="NotFound">NotFound</a></tt>]</span>
</dt>
<dd>
<span class='desc'></span>
</dd>
</dl>
</div>
</div><div class="section source">
<span>[<a class="source_link" href="#">View source</a>]</span>
<div class="source_code">
<table>
<tr>
<td>
<pre class="lines">
5
6
7
8
9</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/octopi/issue_set.rb', line 5</span>
<span class='def def kw'>def</span> <span class='find identifier id'>find</span><span class='lparen token'>(</span><span class='number identifier id'>number</span><span class='rparen token'>)</span>
<span class='issue identifier id'>issue</span> <span class='assign token'>=</span> <span class='detect identifier id'>detect</span> <span class='lbrace token'>{</span> <span class='bitor op'>|</span><span class='issue identifier id'>issue</span><span class='bitor op'>|</span> <span class='issue identifier id'>issue</span><span class='dot token'>.</span><span class='number identifier id'>number</span> <span class='eq op'>==</span> <span class='number identifier id'>number</span> <span class='rbrace token'>}</span>
<span class='raise identifier id'>raise</span> <span class='NotFound constant id'>NotFound</span><span class='comma token'>,</span> <span class='Issue constant id'>Issue</span> <span class='if if_mod kw'>if</span> <span class='issue identifier id'>issue</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
<span class='issue identifier id'>issue</span>
<span class='end end kw'>end</span>
</pre>
</td>
</tr>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="yard_info">
Generated on Friday, July 31 2009 at 05:01:54 PM by
<abbr class="yard" title="Yay! A Ruby Documentation Tool"><a href="http://yard.soen.ca">YARD</a></abbr>
0.2.3.2 (ruby-1.8.6).
</div>
</body>
</html>