1+ <!DOCTYPE html>
2+ < html >
3+ < head >
4+ < meta charset ="utf-8 ">
5+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6+ < title >
7+ Class: OptionParser
8+
9+ — RDF.rb: Linked Data for Ruby
10+
11+ </ title >
12+
13+ < link rel ="stylesheet " href ="css/style.css " type ="text/css " />
14+
15+ < link rel ="stylesheet " href ="css/common.css " type ="text/css " />
16+
17+ < script type ="text/javascript ">
18+ pathId = "OptionParser" ;
19+ relpath = '' ;
20+ </ script >
21+
22+
23+ < script type ="text/javascript " charset ="utf-8 " src ="js/jquery.js "> </ script >
24+
25+ < script type ="text/javascript " charset ="utf-8 " src ="js/app.js "> </ script >
26+
27+
28+ </ head >
29+ < body >
30+ < div class ="nav_wrap ">
31+ < iframe id ="nav " src ="class_list.html?1 "> </ iframe >
32+ < div id ="resizer "> </ div >
33+ </ div >
34+
35+ < div id ="main " tabindex ="-1 ">
36+ < div id ="header ">
37+ < div id ="menu ">
38+
39+ < a href ="_index.html "> Index (O)</ a > »
40+
41+
42+ < span class ="title "> OptionParser</ span >
43+
44+ </ div >
45+
46+ < div id ="search ">
47+
48+ < a class ="full_list_link " id ="class_list_link "
49+ href ="class_list.html ">
50+
51+ < svg width ="24 " height ="24 ">
52+ < rect x ="0 " y ="4 " width ="24 " height ="4 " rx ="1 " ry ="1 "> </ rect >
53+ < rect x ="0 " y ="12 " width ="24 " height ="4 " rx ="1 " ry ="1 "> </ rect >
54+ < rect x ="0 " y ="20 " width ="24 " height ="4 " rx ="1 " ry ="1 "> </ rect >
55+ </ svg >
56+ </ a >
57+
58+ </ div >
59+ < div class ="clear "> </ div >
60+ </ div >
61+
62+ < div id ="content "> < h1 > Class: OptionParser
63+
64+
65+
66+ </ h1 >
67+ < div class ="box_info ">
68+
69+ < dl >
70+ < dt > Inherits:</ dt >
71+ < dd >
72+ < span class ="inheritName "> Object</ span >
73+
74+ < ul class ="fullTree ">
75+ < li > Object</ li >
76+
77+ < li class ="next "> OptionParser</ li >
78+
79+ </ ul >
80+ < a href ="# " class ="inheritanceTree "> show all</ a >
81+
82+ </ dd >
83+ </ dl >
84+
85+
86+
87+
88+
89+
90+
91+
92+
93+
94+
95+ < dl >
96+ < dt > Defined in:</ dt >
97+ < dd > lib/rdf/cli.rb</ dd >
98+ </ dl >
99+
100+ </ div >
101+
102+
103+
104+
105+
106+
107+
108+
109+
110+ < h2 >
111+ Instance Method Summary
112+ < small > < a href ="# " class ="summary_toggle "> collapse</ a > </ small >
113+ </ h2 >
114+
115+ < ul class ="summary ">
116+
117+ < li class ="public ">
118+ < span class ="summary_signature ">
119+
120+ < a href ="#args-instance_method " title ="#args (instance method) "> #< strong > args</ strong > ⇒ Object </ a >
121+
122+
123+
124+ </ span >
125+
126+
127+
128+
129+
130+
131+
132+
133+
134+ < span class ="summary_desc "> < div class ='inline '>
135+ < p > Arguments remaining after extracting options.</ p >
136+ </ div > </ span >
137+
138+ </ li >
139+
140+
141+ < li class ="public ">
142+ < span class ="summary_signature ">
143+
144+ < a href ="#args=-instance_method " title ="#args= (instance method) "> #< strong > args=</ strong > (value) ⇒ Object </ a >
145+
146+
147+
148+ </ span >
149+
150+
151+
152+
153+
154+
155+
156+
157+
158+ < span class ="summary_desc "> < div class ='inline '> </ div > </ span >
159+
160+ </ li >
161+
162+
163+ < li class ="public ">
164+ < span class ="summary_signature ">
165+
166+ < a href ="#options-instance_method " title ="#options (instance method) "> #< strong > options</ strong > ⇒ Object </ a >
167+
168+
169+
170+ </ span >
171+
172+
173+
174+
175+
176+
177+
178+
179+
180+ < span class ="summary_desc "> < div class ='inline '>
181+ < p > Actual parsed options.</ p >
182+ </ div > </ span >
183+
184+ </ li >
185+
186+
187+ < li class ="public ">
188+ < span class ="summary_signature ">
189+
190+ < a href ="#options=-instance_method " title ="#options= (instance method) "> #< strong > options=</ strong > (value) ⇒ Object </ a >
191+
192+
193+
194+ </ span >
195+
196+
197+
198+
199+
200+
201+
202+
203+
204+ < span class ="summary_desc "> < div class ='inline '> </ div > </ span >
205+
206+ </ li >
207+
208+
209+ </ ul >
210+
211+
212+
213+
214+ < div id ="instance_method_details " class ="method_details_list ">
215+ < h2 > Instance Method Details</ h2 >
216+
217+
218+ < div class ="method_details first ">
219+ < h3 class ="signature first " id ="args-instance_method ">
220+
221+ #< strong > args</ strong > ⇒ < tt > Object</ tt >
222+
223+
224+
225+
226+
227+ </ h3 > < div class ="docstring ">
228+ < div class ="discussion ">
229+
230+ < p > Arguments remaining after extracting options</ p >
231+
232+
233+ </ div >
234+ </ div >
235+ < div class ="tags ">
236+
237+
238+ </ div > < table class ="source_code ">
239+ < tr >
240+ < td >
241+ < pre class ="lines ">
242+
243+
244+ 42</ pre >
245+ </ td >
246+ < td >
247+ < pre class ="code "> < span class ="info file "> # File 'lib/rdf/cli.rb', line 42</ span >
248+
249+ < span class ='kw '> def</ span > < span class ='id identifier rubyid_args '> args</ span > < span class ='semicolon '> ;</ span > < span class ='ivar '> @args</ span > < span class ='op '> ||</ span > < span class ='lbracket '> [</ span > < span class ='rbracket '> ]</ span > < span class ='semicolon '> ;</ span > < span class ='kw '> end</ span > </ pre >
250+ </ td >
251+ </ tr >
252+ </ table >
253+ </ div >
254+
255+ < div class ="method_details ">
256+ < h3 class ="signature " id ="args=-instance_method ">
257+
258+ #< strong > args=</ strong > (value) ⇒ < tt > Object</ tt >
259+
260+
261+
262+
263+
264+ </ h3 > < table class ="source_code ">
265+ < tr >
266+ < td >
267+ < pre class ="lines ">
268+
269+
270+ 43</ pre >
271+ </ td >
272+ < td >
273+ < pre class ="code "> < span class ="info file "> # File 'lib/rdf/cli.rb', line 43</ span >
274+
275+ < span class ='kw '> def</ span > < span class ='id identifier rubyid_args= '> args=</ span > < span class ='lparen '> (</ span > < span class ='id identifier rubyid_value '> value</ span > < span class ='rparen '> )</ span > < span class ='semicolon '> ;</ span > < span class ='ivar '> @args</ span > < span class ='op '> =</ span > < span class ='id identifier rubyid_value '> value</ span > < span class ='semicolon '> ;</ span > < span class ='kw '> end</ span > </ pre >
276+ </ td >
277+ </ tr >
278+ </ table >
279+ </ div >
280+
281+ < div class ="method_details ">
282+ < h3 class ="signature " id ="options-instance_method ">
283+
284+ #< strong > options</ strong > ⇒ < tt > Object</ tt >
285+
286+
287+
288+
289+
290+ </ h3 > < div class ="docstring ">
291+ < div class ="discussion ">
292+
293+ < p > Actual parsed options</ p >
294+
295+
296+ </ div >
297+ </ div >
298+ < div class ="tags ">
299+
300+
301+ </ div > < table class ="source_code ">
302+ < tr >
303+ < td >
304+ < pre class ="lines ">
305+
306+
307+ 38</ pre >
308+ </ td >
309+ < td >
310+ < pre class ="code "> < span class ="info file "> # File 'lib/rdf/cli.rb', line 38</ span >
311+
312+ < span class ='kw '> def</ span > < span class ='id identifier rubyid_options '> options</ span > < span class ='semicolon '> ;</ span > < span class ='ivar '> @options</ span > < span class ='op '> ||</ span > < span class ='lbrace '> {</ span > < span class ='rbrace '> }</ span > < span class ='semicolon '> ;</ span > < span class ='kw '> end</ span > </ pre >
313+ </ td >
314+ </ tr >
315+ </ table >
316+ </ div >
317+
318+ < div class ="method_details ">
319+ < h3 class ="signature " id ="options=-instance_method ">
320+
321+ #< strong > options=</ strong > (value) ⇒ < tt > Object</ tt >
322+
323+
324+
325+
326+
327+ </ h3 > < table class ="source_code ">
328+ < tr >
329+ < td >
330+ < pre class ="lines ">
331+
332+
333+ 39</ pre >
334+ </ td >
335+ < td >
336+ < pre class ="code "> < span class ="info file "> # File 'lib/rdf/cli.rb', line 39</ span >
337+
338+ < span class ='kw '> def</ span > < span class ='id identifier rubyid_options= '> options=</ span > < span class ='lparen '> (</ span > < span class ='id identifier rubyid_value '> value</ span > < span class ='rparen '> )</ span > < span class ='semicolon '> ;</ span > < span class ='ivar '> @options</ span > < span class ='op '> =</ span > < span class ='id identifier rubyid_value '> value</ span > < span class ='semicolon '> ;</ span > < span class ='kw '> end</ span > </ pre >
339+ </ td >
340+ </ tr >
341+ </ table >
342+ </ div >
343+
344+ </ div >
345+
346+ </ div >
347+
348+ < div id ="footer ">
349+ Generated on Thu Jan 27 23:04:58 2022 by
350+ < a href ="http://yardoc.org " title ="Yay! A Ruby Documentation Tool " target ="_parent "> yard</ a >
351+ 0.9.27 (ruby-3.1.0).
352+ </ div >
353+
354+ </ div >
355+ </ body >
356+ </ html >
0 commit comments