stacked 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. data/.document +5 -0
  2. data/.gitignore +6 -0
  3. data/Gemfile +1 -0
  4. data/LICENSE +20 -0
  5. data/README.markdown +37 -0
  6. data/README.rdoc +18 -0
  7. data/Rakefile +51 -0
  8. data/VERSION +1 -0
  9. data/cleaner.rb +29 -0
  10. data/doc/Stacked.html +155 -0
  11. data/doc/Stacked/Answer.html +1394 -0
  12. data/doc/Stacked/Badge.html +480 -0
  13. data/doc/Stacked/Base.html +1124 -0
  14. data/doc/Stacked/Comment.html +1037 -0
  15. data/doc/Stacked/NotImplemented.html +162 -0
  16. data/doc/Stacked/Posttimeline.html +543 -0
  17. data/doc/Stacked/Question.html +1763 -0
  18. data/doc/Stacked/Reputation.html +606 -0
  19. data/doc/Stacked/Tag.html +267 -0
  20. data/doc/Stacked/User.html +2787 -0
  21. data/doc/Stacked/Usertimeline.html +630 -0
  22. data/doc/_index.html +246 -0
  23. data/doc/file.README.html +54 -0
  24. data/doc/index.html +54 -0
  25. data/doc/method_list.html +1203 -0
  26. data/doc/top-level-namespace.html +87 -0
  27. data/genddoc.sh +12 -0
  28. data/lib/stacked.rb +46 -0
  29. data/lib/stacked/answer.rb +43 -0
  30. data/lib/stacked/badge.rb +18 -0
  31. data/lib/stacked/base.rb +159 -0
  32. data/lib/stacked/comment.rb +37 -0
  33. data/lib/stacked/posttimeline.rb +10 -0
  34. data/lib/stacked/question.rb +85 -0
  35. data/lib/stacked/reputation.rb +15 -0
  36. data/lib/stacked/tag.rb +9 -0
  37. data/lib/stacked/user.rb +195 -0
  38. data/lib/stacked/usertimeline.rb +14 -0
  39. data/spec/sorted_by_spec.rb +24 -0
  40. data/spec/spec_helper.rb +16 -0
  41. data/spec/stacked/answer_spec.rb +31 -0
  42. data/spec/stacked/badge_spec.rb +17 -0
  43. data/spec/stacked/base_spec.rb +27 -0
  44. data/spec/stacked/comment_spec.rb +41 -0
  45. data/spec/stacked/question_spec.rb +110 -0
  46. data/spec/stacked/reputation_spec.rb +18 -0
  47. data/spec/stacked/tag_spec.rb +21 -0
  48. data/spec/stacked/user_spec.rb +187 -0
  49. data/spec/stacked/usertimeline_spec.rb +5 -0
  50. data/spec/support/aliases.rb +7 -0
  51. data/spec/support/sorted_by.rb +31 -0
  52. data/spec/support/within.rb +24 -0
  53. data/spec/within_spec.rb +19 -0
  54. data/stacked.gemspec +115 -0
  55. data/stylesheet.css +41 -0
  56. metadata +157 -0
@@ -0,0 +1,1763 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta name="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>Class: Stacked::Question</title>
7
+ <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
8
+ <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
9
+
10
+ <script type="text/javascript" charset="utf-8">
11
+ relpath = '..';
12
+ if (relpath != '') relpath += '/';
13
+ </script>
14
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
15
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
16
+
17
+ </head>
18
+ <body>
19
+ <script type="text/javascript" charset="utf-8">
20
+ if (window.top.frames.main) document.body.className = 'frames';
21
+ </script>
22
+
23
+ <div id="header">
24
+ <div id="menu">
25
+
26
+ <a href="../_index.html">Index (Q)</a> &raquo;
27
+ <span class='title'><a href="../Stacked.html" title="Stacked (module)">Stacked</a></span>
28
+ &raquo;
29
+ <span class="title">Question</span>
30
+
31
+
32
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
33
+ </div>
34
+
35
+ <div id="search">
36
+ <a id="class_list_link" href="#">Class List</a>
37
+ <a id="method_list_link" href="#">Method List</a>
38
+ <a id ="file_list_link" href="#">File List</a>
39
+ </div>
40
+
41
+ <div class="clear"></div>
42
+ </div>
43
+
44
+ <iframe id="search_frame"></iframe>
45
+
46
+ <div id="content"><h1>Class: Stacked::Question
47
+
48
+
49
+ </h1>
50
+
51
+ <dl class="box">
52
+
53
+ <dt class="r1">Inherits:</dt>
54
+ <dd class="r1">
55
+ <span class="inheritName"><a href="Base.html" title="Stacked::Base (class)">Base</a></span>
56
+
57
+ <ul class="fullTree">
58
+ <li>Object</li>
59
+
60
+ <li class="next"><a href="Base.html" title="Stacked::Base (class)">Base</a></li>
61
+
62
+ <li class="next">Stacked::Question</li>
63
+
64
+ </ul>
65
+ <a href="#" class="inheritanceTree">show all</a>
66
+
67
+ </dd>
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+ <dt class="r2 last">Defined in:</dt>
78
+ <dd class="r2 last">lib/stacked/question.rb</dd>
79
+
80
+ </dl>
81
+ <div class="clear"></div>
82
+
83
+
84
+
85
+
86
+
87
+
88
+
89
+
90
+ <h2>Instance Attribute Summary</h2>
91
+ <ul class="summary">
92
+
93
+ <li class="public ">
94
+ <span class="summary_signature">
95
+
96
+ <a href="#accepted_answer_id-instance_method" title="#accepted_answer_id (instance method)">- (Object) <strong>accepted_answer_id</strong> </a>
97
+
98
+
99
+
100
+ </span>
101
+
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+
111
+ <span class="summary_desc"><div class='inline'><p>
112
+ Returns the value of attribute accepted_answer_id.
113
+ </p>
114
+ </div></span>
115
+
116
+ </li>
117
+
118
+
119
+ <li class="public ">
120
+ <span class="summary_signature">
121
+
122
+ <a href="#answer_count-instance_method" title="#answer_count (instance method)">- (Object) <strong>answer_count</strong> </a>
123
+
124
+
125
+
126
+ </span>
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+
135
+
136
+
137
+ <span class="summary_desc"><div class='inline'><p>
138
+ Returns the value of attribute answer_count.
139
+ </p>
140
+ </div></span>
141
+
142
+ </li>
143
+
144
+
145
+ <li class="public ">
146
+ <span class="summary_signature">
147
+
148
+ <a href="#answers-instance_method" title="#answers (instance method)">- (Object) <strong>answers</strong> </a>
149
+
150
+
151
+
152
+ </span>
153
+
154
+
155
+
156
+
157
+
158
+
159
+
160
+
161
+
162
+
163
+ <span class="summary_desc"><div class='inline'><p>
164
+ Returns the value of attribute answers.
165
+ </p>
166
+ </div></span>
167
+
168
+ </li>
169
+
170
+
171
+ <li class="public ">
172
+ <span class="summary_signature">
173
+
174
+ <a href="#body-instance_method" title="#body (instance method)">- (Object) <strong>body</strong> </a>
175
+
176
+
177
+
178
+ </span>
179
+
180
+
181
+
182
+
183
+
184
+
185
+
186
+
187
+
188
+
189
+ <span class="summary_desc"><div class='inline'><p>
190
+ Returns the value of attribute body.
191
+ </p>
192
+ </div></span>
193
+
194
+ </li>
195
+
196
+
197
+ <li class="public ">
198
+ <span class="summary_signature">
199
+
200
+ <a href="#bounty_closes_date-instance_method" title="#bounty_closes_date (instance method)">- (Object) <strong>bounty_closes_date</strong> </a>
201
+
202
+
203
+
204
+ </span>
205
+
206
+
207
+
208
+
209
+
210
+
211
+
212
+
213
+
214
+
215
+ <span class="summary_desc"><div class='inline'><p>
216
+ Returns the value of attribute bounty_closes_date.
217
+ </p>
218
+ </div></span>
219
+
220
+ </li>
221
+
222
+
223
+ <li class="public ">
224
+ <span class="summary_signature">
225
+
226
+ <a href="#community_owned-instance_method" title="#community_owned (instance method)">- (Object) <strong>community_owned</strong> </a>
227
+
228
+
229
+
230
+ </span>
231
+
232
+
233
+
234
+
235
+
236
+
237
+
238
+
239
+
240
+
241
+ <span class="summary_desc"><div class='inline'><p>
242
+ Returns the value of attribute community_owned.
243
+ </p>
244
+ </div></span>
245
+
246
+ </li>
247
+
248
+
249
+ <li class="public ">
250
+ <span class="summary_signature">
251
+
252
+ <a href="#creation_date-instance_method" title="#creation_date (instance method)">- (Object) <strong>creation_date</strong> </a>
253
+
254
+
255
+
256
+ (also: #created_at)
257
+
258
+ </span>
259
+
260
+
261
+
262
+
263
+
264
+
265
+
266
+
267
+
268
+
269
+ <span class="summary_desc"><div class='inline'><p>
270
+ Returns the value of attribute creation_date.
271
+ </p>
272
+ </div></span>
273
+
274
+ </li>
275
+
276
+
277
+ <li class="public ">
278
+ <span class="summary_signature">
279
+
280
+ <a href="#down_vote_count-instance_method" title="#down_vote_count (instance method)">- (Object) <strong>down_vote_count</strong> </a>
281
+
282
+
283
+
284
+ (also: #down_votes)
285
+
286
+ </span>
287
+
288
+
289
+
290
+
291
+
292
+
293
+
294
+
295
+
296
+
297
+ <span class="summary_desc"><div class='inline'><p>
298
+ Returns the value of attribute down_vote_count.
299
+ </p>
300
+ </div></span>
301
+
302
+ </li>
303
+
304
+
305
+ <li class="public ">
306
+ <span class="summary_signature">
307
+
308
+ <a href="#favorite_count-instance_method" title="#favorite_count (instance method)">- (Object) <strong>favorite_count</strong> </a>
309
+
310
+
311
+
312
+ (also: #favourites, #favorites)
313
+
314
+ </span>
315
+
316
+
317
+
318
+
319
+
320
+
321
+
322
+
323
+
324
+
325
+ <span class="summary_desc"><div class='inline'><p>
326
+ Returns the value of attribute favorite_count.
327
+ </p>
328
+ </div></span>
329
+
330
+ </li>
331
+
332
+
333
+ <li class="public ">
334
+ <span class="summary_signature">
335
+
336
+ <a href="#last_activity_date-instance_method" title="#last_activity_date (instance method)">- (Object) <strong>last_activity_date</strong> </a>
337
+
338
+
339
+
340
+ </span>
341
+
342
+
343
+
344
+
345
+
346
+
347
+
348
+
349
+
350
+
351
+ <span class="summary_desc"><div class='inline'><p>
352
+ Returns the value of attribute last_activity_date.
353
+ </p>
354
+ </div></span>
355
+
356
+ </li>
357
+
358
+
359
+ <li class="public ">
360
+ <span class="summary_signature">
361
+
362
+ <a href="#last_edit_date-instance_method" title="#last_edit_date (instance method)">- (Object) <strong>last_edit_date</strong> </a>
363
+
364
+
365
+
366
+ (also: #updated_at)
367
+
368
+ </span>
369
+
370
+
371
+
372
+
373
+
374
+
375
+
376
+
377
+
378
+
379
+ <span class="summary_desc"><div class='inline'><p>
380
+ Returns the value of attribute last_edit_date.
381
+ </p>
382
+ </div></span>
383
+
384
+ </li>
385
+
386
+
387
+ <li class="public ">
388
+ <span class="summary_signature">
389
+
390
+ <a href="#owner_display_name-instance_method" title="#owner_display_name (instance method)">- (Object) <strong>owner_display_name</strong> </a>
391
+
392
+
393
+
394
+ </span>
395
+
396
+
397
+
398
+
399
+
400
+
401
+
402
+
403
+
404
+
405
+ <span class="summary_desc"><div class='inline'><p>
406
+ Returns the value of attribute owner_display_name.
407
+ </p>
408
+ </div></span>
409
+
410
+ </li>
411
+
412
+
413
+ <li class="public ">
414
+ <span class="summary_signature">
415
+
416
+ <a href="#owner_user_id-instance_method" title="#owner_user_id (instance method)">- (Object) <strong>owner_user_id</strong> </a>
417
+
418
+
419
+
420
+ </span>
421
+
422
+
423
+
424
+
425
+
426
+
427
+
428
+
429
+
430
+
431
+ <span class="summary_desc"><div class='inline'><p>
432
+ Returns the value of attribute owner_user_id.
433
+ </p>
434
+ </div></span>
435
+
436
+ </li>
437
+
438
+
439
+ <li class="public ">
440
+ <span class="summary_signature">
441
+
442
+ <a href="#question_id-instance_method" title="#question_id (instance method)">- (Object) <strong>question_id</strong> </a>
443
+
444
+
445
+
446
+ (also: #id)
447
+
448
+ </span>
449
+
450
+
451
+
452
+
453
+
454
+
455
+
456
+
457
+
458
+
459
+ <span class="summary_desc"><div class='inline'><p>
460
+ Returns the value of attribute question_id.
461
+ </p>
462
+ </div></span>
463
+
464
+ </li>
465
+
466
+
467
+ <li class="public ">
468
+ <span class="summary_signature">
469
+
470
+ <a href="#score-instance_method" title="#score (instance method)">- (Object) <strong>score</strong> </a>
471
+
472
+
473
+
474
+ </span>
475
+
476
+
477
+
478
+
479
+
480
+
481
+
482
+
483
+
484
+
485
+ <span class="summary_desc"><div class='inline'><p>
486
+ Returns the value of attribute score.
487
+ </p>
488
+ </div></span>
489
+
490
+ </li>
491
+
492
+
493
+ <li class="public ">
494
+ <span class="summary_signature">
495
+
496
+ <a href="#tags-instance_method" title="#tags (instance method)">- (Object) <strong>tags</strong> </a>
497
+
498
+
499
+
500
+ </span>
501
+
502
+
503
+
504
+
505
+
506
+
507
+
508
+
509
+
510
+
511
+ <span class="summary_desc"><div class='inline'><p>
512
+ Returns the value of attribute tags.
513
+ </p>
514
+ </div></span>
515
+
516
+ </li>
517
+
518
+
519
+ <li class="public ">
520
+ <span class="summary_signature">
521
+
522
+ <a href="#title-instance_method" title="#title (instance method)">- (Object) <strong>title</strong> </a>
523
+
524
+
525
+
526
+ </span>
527
+
528
+
529
+
530
+
531
+
532
+
533
+
534
+
535
+
536
+
537
+ <span class="summary_desc"><div class='inline'><p>
538
+ Returns the value of attribute title.
539
+ </p>
540
+ </div></span>
541
+
542
+ </li>
543
+
544
+
545
+ <li class="public ">
546
+ <span class="summary_signature">
547
+
548
+ <a href="#up_vote_count-instance_method" title="#up_vote_count (instance method)">- (Object) <strong>up_vote_count</strong> </a>
549
+
550
+
551
+
552
+ (also: #up_votes)
553
+
554
+ </span>
555
+
556
+
557
+
558
+
559
+
560
+
561
+
562
+
563
+
564
+
565
+ <span class="summary_desc"><div class='inline'><p>
566
+ Returns the value of attribute up_vote_count.
567
+ </p>
568
+ </div></span>
569
+
570
+ </li>
571
+
572
+
573
+ <li class="public ">
574
+ <span class="summary_signature">
575
+
576
+ <a href="#view_count-instance_method" title="#view_count (instance method)">- (Object) <strong>view_count</strong> </a>
577
+
578
+
579
+
580
+ (also: #views)
581
+
582
+ </span>
583
+
584
+
585
+
586
+
587
+
588
+
589
+
590
+
591
+
592
+
593
+ <span class="summary_desc"><div class='inline'><p>
594
+ Returns the value of attribute view_count.
595
+ </p>
596
+ </div></span>
597
+
598
+ </li>
599
+
600
+
601
+ </ul>
602
+
603
+
604
+
605
+ <h2>Class Method Summary</h2>
606
+
607
+ <ul class="summary">
608
+
609
+ <li class="public ">
610
+ <span class="summary_signature">
611
+
612
+ <a href="#tagged-class_method" title="tagged (class method)">+ (Object) <strong>tagged</strong>(options = {}) </a>
613
+
614
+
615
+
616
+ </span>
617
+
618
+
619
+
620
+
621
+
622
+
623
+
624
+ <span class="summary_desc"><div class='inline'></div></span>
625
+
626
+ </li>
627
+
628
+
629
+ <li class="public ">
630
+ <span class="summary_signature">
631
+
632
+ <a href="#unanswered_by_votes-class_method" title="unanswered_by_votes (class method)">+ (Object) <strong>unanswered_by_votes</strong>(options = {}) </a>
633
+
634
+
635
+
636
+ </span>
637
+
638
+
639
+
640
+
641
+
642
+
643
+
644
+ <span class="summary_desc"><div class='inline'></div></span>
645
+
646
+ </li>
647
+
648
+
649
+ </ul>
650
+
651
+ <h2>Instance Method Summary</h2>
652
+
653
+ <ul class="summary">
654
+
655
+ <li class="public ">
656
+ <span class="summary_signature">
657
+
658
+ <a href="#accepted_answer-instance_method" title="#accepted_answer (instance method)">- (Object) <strong>accepted_answer</strong> </a>
659
+
660
+
661
+
662
+ </span>
663
+
664
+
665
+
666
+
667
+
668
+
669
+
670
+ <span class="summary_desc"><div class='inline'></div></span>
671
+
672
+ </li>
673
+
674
+
675
+ <li class="public ">
676
+ <span class="summary_signature">
677
+
678
+ <a href="#owner-instance_method" title="#owner (instance method)">- (Object) <strong>owner</strong> </a>
679
+
680
+
681
+
682
+ (also: #user)
683
+
684
+ </span>
685
+
686
+
687
+
688
+
689
+
690
+
691
+
692
+ <span class="summary_desc"><div class='inline'></div></span>
693
+
694
+ </li>
695
+
696
+
697
+ <li class="public ">
698
+ <span class="summary_signature">
699
+
700
+ <a href="#timeline-instance_method" title="#timeline (instance method)">- (Object) <strong>timeline</strong>(options = {}) </a>
701
+
702
+
703
+
704
+ </span>
705
+
706
+
707
+
708
+
709
+
710
+
711
+
712
+ <span class="summary_desc"><div class='inline'></div></span>
713
+
714
+ </li>
715
+
716
+
717
+ </ul>
718
+
719
+
720
+
721
+
722
+
723
+
724
+
725
+
726
+
727
+
728
+ <h3 class="inherited">Methods inherited from <a href="Base.html" title="Stacked::Base (class)">Base</a></h3>
729
+ <p class="inherited"><a href="Base.html#all-class_method" title="Stacked::Base.all (method)">all</a>, <a href="Base.html#association-class_method" title="Stacked::Base.association (method)">association</a>, <a href="Base.html#collection-class_method" title="Stacked::Base.collection (method)">collection</a>, <a href="Base.html#find-class_method" title="Stacked::Base.find (method)">find</a>, <a href="Base.html#initialize-instance_method" title="Stacked::Base#initialize (method)">#initialize</a>, <a href="Base.html#parse_answers-instance_method" title="Stacked::Base#parse_answers (method)">#parse_answers</a>, <a href="Base.html#parse_badges-instance_method" title="Stacked::Base#parse_badges (method)">#parse_badges</a>, <a href="Base.html#parse_comments-instance_method" title="Stacked::Base#parse_comments (method)">#parse_comments</a>, <a href="Base.html#parse_post_timeline-instance_method" title="Stacked::Base#parse_post_timeline (method)">#parse_post_timeline</a>, <a href="Base.html#parse_questions-instance_method" title="Stacked::Base#parse_questions (method)">#parse_questions</a>, <a href="Base.html#parse_reputations-instance_method" title="Stacked::Base#parse_reputations (method)">#parse_reputations</a>, <a href="Base.html#parse_tags-instance_method" title="Stacked::Base#parse_tags (method)">#parse_tags</a>, <a href="Base.html#parse_type-instance_method" title="Stacked::Base#parse_type (method)">#parse_type</a>, <a href="Base.html#parse_user_timeline-instance_method" title="Stacked::Base#parse_user_timeline (method)">#parse_user_timeline</a>, <a href="Base.html#post-instance_method" title="Stacked::Base#post (method)">#post</a>, <a href="Base.html#records-class_method" title="Stacked::Base.records (method)">records</a>, <a href="Base.html#request-class_method" title="Stacked::Base.request (method)">request</a>, <a href="Base.html#singular-class_method" title="Stacked::Base.singular (method)">singular</a>, <a href="Base.html#stats-class_method" title="Stacked::Base.stats (method)">stats</a></p>
730
+
731
+ <div id="constructor_details" class="method_details_list">
732
+ <h2>Constructor Details</h2>
733
+
734
+ <p class="notice">This class inherits a constructor from <a href="Base.html#initialize-instance_method" title="Stacked::Base#initialize (method)">Stacked::Base</a></p>
735
+
736
+ </div>
737
+
738
+ <div id="instance_attr_details" class="attr_details">
739
+ <h2>Instance Attribute Details</h2>
740
+
741
+
742
+ <span id="accepted_answer_id=-instance_method"></span>
743
+ <span id="accepted_answer_id-instance_method"></span>
744
+ <div class="method_details first">
745
+ <p class="signature first" id="accepted_answer_id-instance_method">
746
+
747
+ - (<tt>Object</tt>) <strong>accepted_answer_id</strong>
748
+
749
+
750
+
751
+ </p><div class="docstring">
752
+ <div class="discussion">
753
+ <p>
754
+ Returns the value of attribute accepted_answer_id
755
+ </p>
756
+
757
+
758
+ </div>
759
+ </div>
760
+ <div class="tags">
761
+
762
+ </div><table class="source_code">
763
+ <tr>
764
+ <td>
765
+ <pre class="lines">
766
+
767
+
768
+ 3
769
+ 4
770
+ 5</pre>
771
+ </td>
772
+ <td>
773
+ <pre class="code"><span class="info file"># File 'lib/stacked/question.rb', line 3</span>
774
+
775
+ <span class='def def kw'>def</span> <span class='accepted_answer_id identifier id'>accepted_answer_id</span>
776
+ <span class='@accepted_answer_id ivar id'>@accepted_answer_id</span>
777
+ <span class='end end kw'>end</span>
778
+ </pre>
779
+ </td>
780
+ </tr>
781
+ </table>
782
+ </div>
783
+
784
+
785
+ <span id="answer_count=-instance_method"></span>
786
+ <span id="answer_count-instance_method"></span>
787
+ <div class="method_details ">
788
+ <p class="signature " id="answer_count-instance_method">
789
+
790
+ - (<tt>Object</tt>) <strong>answer_count</strong>
791
+
792
+
793
+
794
+ </p><div class="docstring">
795
+ <div class="discussion">
796
+ <p>
797
+ Returns the value of attribute answer_count
798
+ </p>
799
+
800
+
801
+ </div>
802
+ </div>
803
+ <div class="tags">
804
+
805
+ </div><table class="source_code">
806
+ <tr>
807
+ <td>
808
+ <pre class="lines">
809
+
810
+
811
+ 3
812
+ 4
813
+ 5</pre>
814
+ </td>
815
+ <td>
816
+ <pre class="code"><span class="info file"># File 'lib/stacked/question.rb', line 3</span>
817
+
818
+ <span class='def def kw'>def</span> <span class='answer_count identifier id'>answer_count</span>
819
+ <span class='@answer_count ivar id'>@answer_count</span>
820
+ <span class='end end kw'>end</span>
821
+ </pre>
822
+ </td>
823
+ </tr>
824
+ </table>
825
+ </div>
826
+
827
+
828
+ <span id="answers=-instance_method"></span>
829
+ <span id="answers-instance_method"></span>
830
+ <div class="method_details ">
831
+ <p class="signature " id="answers-instance_method">
832
+
833
+ - (<tt>Object</tt>) <strong>answers</strong>
834
+
835
+
836
+
837
+ </p><div class="docstring">
838
+ <div class="discussion">
839
+ <p>
840
+ Returns the value of attribute answers
841
+ </p>
842
+
843
+
844
+ </div>
845
+ </div>
846
+ <div class="tags">
847
+
848
+ </div><table class="source_code">
849
+ <tr>
850
+ <td>
851
+ <pre class="lines">
852
+
853
+
854
+ 3
855
+ 4
856
+ 5</pre>
857
+ </td>
858
+ <td>
859
+ <pre class="code"><span class="info file"># File 'lib/stacked/question.rb', line 3</span>
860
+
861
+ <span class='def def kw'>def</span> <span class='answers identifier id'>answers</span>
862
+ <span class='@answers ivar id'>@answers</span>
863
+ <span class='end end kw'>end</span>
864
+ </pre>
865
+ </td>
866
+ </tr>
867
+ </table>
868
+ </div>
869
+
870
+
871
+ <span id="body=-instance_method"></span>
872
+ <span id="body-instance_method"></span>
873
+ <div class="method_details ">
874
+ <p class="signature " id="body-instance_method">
875
+
876
+ - (<tt>Object</tt>) <strong>body</strong>
877
+
878
+
879
+
880
+ </p><div class="docstring">
881
+ <div class="discussion">
882
+ <p>
883
+ Returns the value of attribute body
884
+ </p>
885
+
886
+
887
+ </div>
888
+ </div>
889
+ <div class="tags">
890
+
891
+ </div><table class="source_code">
892
+ <tr>
893
+ <td>
894
+ <pre class="lines">
895
+
896
+
897
+ 3
898
+ 4
899
+ 5</pre>
900
+ </td>
901
+ <td>
902
+ <pre class="code"><span class="info file"># File 'lib/stacked/question.rb', line 3</span>
903
+
904
+ <span class='def def kw'>def</span> <span class='body identifier id'>body</span>
905
+ <span class='@body ivar id'>@body</span>
906
+ <span class='end end kw'>end</span>
907
+ </pre>
908
+ </td>
909
+ </tr>
910
+ </table>
911
+ </div>
912
+
913
+
914
+ <span id="bounty_closes_date=-instance_method"></span>
915
+ <span id="bounty_closes_date-instance_method"></span>
916
+ <div class="method_details ">
917
+ <p class="signature " id="bounty_closes_date-instance_method">
918
+
919
+ - (<tt>Object</tt>) <strong>bounty_closes_date</strong>
920
+
921
+
922
+
923
+ </p><div class="docstring">
924
+ <div class="discussion">
925
+ <p>
926
+ Returns the value of attribute bounty_closes_date
927
+ </p>
928
+
929
+
930
+ </div>
931
+ </div>
932
+ <div class="tags">
933
+
934
+ </div><table class="source_code">
935
+ <tr>
936
+ <td>
937
+ <pre class="lines">
938
+
939
+
940
+ 3
941
+ 4
942
+ 5</pre>
943
+ </td>
944
+ <td>
945
+ <pre class="code"><span class="info file"># File 'lib/stacked/question.rb', line 3</span>
946
+
947
+ <span class='def def kw'>def</span> <span class='bounty_closes_date identifier id'>bounty_closes_date</span>
948
+ <span class='@bounty_closes_date ivar id'>@bounty_closes_date</span>
949
+ <span class='end end kw'>end</span>
950
+ </pre>
951
+ </td>
952
+ </tr>
953
+ </table>
954
+ </div>
955
+
956
+
957
+ <span id="community_owned=-instance_method"></span>
958
+ <span id="community_owned-instance_method"></span>
959
+ <div class="method_details ">
960
+ <p class="signature " id="community_owned-instance_method">
961
+
962
+ - (<tt>Object</tt>) <strong>community_owned</strong>
963
+
964
+
965
+
966
+ </p><div class="docstring">
967
+ <div class="discussion">
968
+ <p>
969
+ Returns the value of attribute community_owned
970
+ </p>
971
+
972
+
973
+ </div>
974
+ </div>
975
+ <div class="tags">
976
+
977
+ </div><table class="source_code">
978
+ <tr>
979
+ <td>
980
+ <pre class="lines">
981
+
982
+
983
+ 3
984
+ 4
985
+ 5</pre>
986
+ </td>
987
+ <td>
988
+ <pre class="code"><span class="info file"># File 'lib/stacked/question.rb', line 3</span>
989
+
990
+ <span class='def def kw'>def</span> <span class='community_owned identifier id'>community_owned</span>
991
+ <span class='@community_owned ivar id'>@community_owned</span>
992
+ <span class='end end kw'>end</span>
993
+ </pre>
994
+ </td>
995
+ </tr>
996
+ </table>
997
+ </div>
998
+
999
+
1000
+ <span id="creation_date=-instance_method"></span>
1001
+ <span id="creation_date-instance_method"></span>
1002
+ <div class="method_details ">
1003
+ <p class="signature " id="creation_date-instance_method">
1004
+
1005
+ - (<tt>Object</tt>) <strong>creation_date</strong>
1006
+
1007
+
1008
+
1009
+ <span class="aliases">Also known as:
1010
+ <span class="names"><span id='created_at-instance_method'>created_at</span></span>
1011
+ </span>
1012
+
1013
+ </p><div class="docstring">
1014
+ <div class="discussion">
1015
+ <p>
1016
+ Returns the value of attribute creation_date
1017
+ </p>
1018
+
1019
+
1020
+ </div>
1021
+ </div>
1022
+ <div class="tags">
1023
+
1024
+ </div><table class="source_code">
1025
+ <tr>
1026
+ <td>
1027
+ <pre class="lines">
1028
+
1029
+
1030
+ 3
1031
+ 4
1032
+ 5</pre>
1033
+ </td>
1034
+ <td>
1035
+ <pre class="code"><span class="info file"># File 'lib/stacked/question.rb', line 3</span>
1036
+
1037
+ <span class='def def kw'>def</span> <span class='creation_date identifier id'>creation_date</span>
1038
+ <span class='@creation_date ivar id'>@creation_date</span>
1039
+ <span class='end end kw'>end</span>
1040
+ </pre>
1041
+ </td>
1042
+ </tr>
1043
+ </table>
1044
+ </div>
1045
+
1046
+
1047
+ <span id="down_vote_count=-instance_method"></span>
1048
+ <span id="down_vote_count-instance_method"></span>
1049
+ <div class="method_details ">
1050
+ <p class="signature " id="down_vote_count-instance_method">
1051
+
1052
+ - (<tt>Object</tt>) <strong>down_vote_count</strong>
1053
+
1054
+
1055
+
1056
+ <span class="aliases">Also known as:
1057
+ <span class="names"><span id='down_votes-instance_method'>down_votes</span></span>
1058
+ </span>
1059
+
1060
+ </p><div class="docstring">
1061
+ <div class="discussion">
1062
+ <p>
1063
+ Returns the value of attribute down_vote_count
1064
+ </p>
1065
+
1066
+
1067
+ </div>
1068
+ </div>
1069
+ <div class="tags">
1070
+
1071
+ </div><table class="source_code">
1072
+ <tr>
1073
+ <td>
1074
+ <pre class="lines">
1075
+
1076
+
1077
+ 3
1078
+ 4
1079
+ 5</pre>
1080
+ </td>
1081
+ <td>
1082
+ <pre class="code"><span class="info file"># File 'lib/stacked/question.rb', line 3</span>
1083
+
1084
+ <span class='def def kw'>def</span> <span class='down_vote_count identifier id'>down_vote_count</span>
1085
+ <span class='@down_vote_count ivar id'>@down_vote_count</span>
1086
+ <span class='end end kw'>end</span>
1087
+ </pre>
1088
+ </td>
1089
+ </tr>
1090
+ </table>
1091
+ </div>
1092
+
1093
+
1094
+ <span id="favorite_count=-instance_method"></span>
1095
+ <span id="favorite_count-instance_method"></span>
1096
+ <div class="method_details ">
1097
+ <p class="signature " id="favorite_count-instance_method">
1098
+
1099
+ - (<tt>Object</tt>) <strong>favorite_count</strong>
1100
+
1101
+
1102
+
1103
+ <span class="aliases">Also known as:
1104
+ <span class="names"><span id='favourites-instance_method'>favourites</span>, <span id='favorites-instance_method'>favorites</span></span>
1105
+ </span>
1106
+
1107
+ </p><div class="docstring">
1108
+ <div class="discussion">
1109
+ <p>
1110
+ Returns the value of attribute favorite_count
1111
+ </p>
1112
+
1113
+
1114
+ </div>
1115
+ </div>
1116
+ <div class="tags">
1117
+
1118
+ </div><table class="source_code">
1119
+ <tr>
1120
+ <td>
1121
+ <pre class="lines">
1122
+
1123
+
1124
+ 3
1125
+ 4
1126
+ 5</pre>
1127
+ </td>
1128
+ <td>
1129
+ <pre class="code"><span class="info file"># File 'lib/stacked/question.rb', line 3</span>
1130
+
1131
+ <span class='def def kw'>def</span> <span class='favorite_count identifier id'>favorite_count</span>
1132
+ <span class='@favorite_count ivar id'>@favorite_count</span>
1133
+ <span class='end end kw'>end</span>
1134
+ </pre>
1135
+ </td>
1136
+ </tr>
1137
+ </table>
1138
+ </div>
1139
+
1140
+
1141
+ <span id="last_activity_date=-instance_method"></span>
1142
+ <span id="last_activity_date-instance_method"></span>
1143
+ <div class="method_details ">
1144
+ <p class="signature " id="last_activity_date-instance_method">
1145
+
1146
+ - (<tt>Object</tt>) <strong>last_activity_date</strong>
1147
+
1148
+
1149
+
1150
+ </p><div class="docstring">
1151
+ <div class="discussion">
1152
+ <p>
1153
+ Returns the value of attribute last_activity_date
1154
+ </p>
1155
+
1156
+
1157
+ </div>
1158
+ </div>
1159
+ <div class="tags">
1160
+
1161
+ </div><table class="source_code">
1162
+ <tr>
1163
+ <td>
1164
+ <pre class="lines">
1165
+
1166
+
1167
+ 3
1168
+ 4
1169
+ 5</pre>
1170
+ </td>
1171
+ <td>
1172
+ <pre class="code"><span class="info file"># File 'lib/stacked/question.rb', line 3</span>
1173
+
1174
+ <span class='def def kw'>def</span> <span class='last_activity_date identifier id'>last_activity_date</span>
1175
+ <span class='@last_activity_date ivar id'>@last_activity_date</span>
1176
+ <span class='end end kw'>end</span>
1177
+ </pre>
1178
+ </td>
1179
+ </tr>
1180
+ </table>
1181
+ </div>
1182
+
1183
+
1184
+ <span id="last_edit_date=-instance_method"></span>
1185
+ <span id="last_edit_date-instance_method"></span>
1186
+ <div class="method_details ">
1187
+ <p class="signature " id="last_edit_date-instance_method">
1188
+
1189
+ - (<tt>Object</tt>) <strong>last_edit_date</strong>
1190
+
1191
+
1192
+
1193
+ <span class="aliases">Also known as:
1194
+ <span class="names"><span id='updated_at-instance_method'>updated_at</span></span>
1195
+ </span>
1196
+
1197
+ </p><div class="docstring">
1198
+ <div class="discussion">
1199
+ <p>
1200
+ Returns the value of attribute last_edit_date
1201
+ </p>
1202
+
1203
+
1204
+ </div>
1205
+ </div>
1206
+ <div class="tags">
1207
+
1208
+ </div><table class="source_code">
1209
+ <tr>
1210
+ <td>
1211
+ <pre class="lines">
1212
+
1213
+
1214
+ 3
1215
+ 4
1216
+ 5</pre>
1217
+ </td>
1218
+ <td>
1219
+ <pre class="code"><span class="info file"># File 'lib/stacked/question.rb', line 3</span>
1220
+
1221
+ <span class='def def kw'>def</span> <span class='last_edit_date identifier id'>last_edit_date</span>
1222
+ <span class='@last_edit_date ivar id'>@last_edit_date</span>
1223
+ <span class='end end kw'>end</span>
1224
+ </pre>
1225
+ </td>
1226
+ </tr>
1227
+ </table>
1228
+ </div>
1229
+
1230
+
1231
+ <span id="owner_display_name=-instance_method"></span>
1232
+ <span id="owner_display_name-instance_method"></span>
1233
+ <div class="method_details ">
1234
+ <p class="signature " id="owner_display_name-instance_method">
1235
+
1236
+ - (<tt>Object</tt>) <strong>owner_display_name</strong>
1237
+
1238
+
1239
+
1240
+ </p><div class="docstring">
1241
+ <div class="discussion">
1242
+ <p>
1243
+ Returns the value of attribute owner_display_name
1244
+ </p>
1245
+
1246
+
1247
+ </div>
1248
+ </div>
1249
+ <div class="tags">
1250
+
1251
+ </div><table class="source_code">
1252
+ <tr>
1253
+ <td>
1254
+ <pre class="lines">
1255
+
1256
+
1257
+ 3
1258
+ 4
1259
+ 5</pre>
1260
+ </td>
1261
+ <td>
1262
+ <pre class="code"><span class="info file"># File 'lib/stacked/question.rb', line 3</span>
1263
+
1264
+ <span class='def def kw'>def</span> <span class='owner_display_name identifier id'>owner_display_name</span>
1265
+ <span class='@owner_display_name ivar id'>@owner_display_name</span>
1266
+ <span class='end end kw'>end</span>
1267
+ </pre>
1268
+ </td>
1269
+ </tr>
1270
+ </table>
1271
+ </div>
1272
+
1273
+
1274
+ <span id="owner_user_id=-instance_method"></span>
1275
+ <span id="owner_user_id-instance_method"></span>
1276
+ <div class="method_details ">
1277
+ <p class="signature " id="owner_user_id-instance_method">
1278
+
1279
+ - (<tt>Object</tt>) <strong>owner_user_id</strong>
1280
+
1281
+
1282
+
1283
+ </p><div class="docstring">
1284
+ <div class="discussion">
1285
+ <p>
1286
+ Returns the value of attribute owner_user_id
1287
+ </p>
1288
+
1289
+
1290
+ </div>
1291
+ </div>
1292
+ <div class="tags">
1293
+
1294
+ </div><table class="source_code">
1295
+ <tr>
1296
+ <td>
1297
+ <pre class="lines">
1298
+
1299
+
1300
+ 3
1301
+ 4
1302
+ 5</pre>
1303
+ </td>
1304
+ <td>
1305
+ <pre class="code"><span class="info file"># File 'lib/stacked/question.rb', line 3</span>
1306
+
1307
+ <span class='def def kw'>def</span> <span class='owner_user_id identifier id'>owner_user_id</span>
1308
+ <span class='@owner_user_id ivar id'>@owner_user_id</span>
1309
+ <span class='end end kw'>end</span>
1310
+ </pre>
1311
+ </td>
1312
+ </tr>
1313
+ </table>
1314
+ </div>
1315
+
1316
+
1317
+ <span id="question_id=-instance_method"></span>
1318
+ <span id="question_id-instance_method"></span>
1319
+ <div class="method_details ">
1320
+ <p class="signature " id="question_id-instance_method">
1321
+
1322
+ - (<tt>Object</tt>) <strong>question_id</strong>
1323
+
1324
+
1325
+
1326
+ <span class="aliases">Also known as:
1327
+ <span class="names"><span id='id-instance_method'>id</span></span>
1328
+ </span>
1329
+
1330
+ </p><div class="docstring">
1331
+ <div class="discussion">
1332
+ <p>
1333
+ Returns the value of attribute question_id
1334
+ </p>
1335
+
1336
+
1337
+ </div>
1338
+ </div>
1339
+ <div class="tags">
1340
+
1341
+ </div><table class="source_code">
1342
+ <tr>
1343
+ <td>
1344
+ <pre class="lines">
1345
+
1346
+
1347
+ 3
1348
+ 4
1349
+ 5</pre>
1350
+ </td>
1351
+ <td>
1352
+ <pre class="code"><span class="info file"># File 'lib/stacked/question.rb', line 3</span>
1353
+
1354
+ <span class='def def kw'>def</span> <span class='question_id identifier id'>question_id</span>
1355
+ <span class='@question_id ivar id'>@question_id</span>
1356
+ <span class='end end kw'>end</span>
1357
+ </pre>
1358
+ </td>
1359
+ </tr>
1360
+ </table>
1361
+ </div>
1362
+
1363
+
1364
+ <span id="score=-instance_method"></span>
1365
+ <span id="score-instance_method"></span>
1366
+ <div class="method_details ">
1367
+ <p class="signature " id="score-instance_method">
1368
+
1369
+ - (<tt>Object</tt>) <strong>score</strong>
1370
+
1371
+
1372
+
1373
+ </p><div class="docstring">
1374
+ <div class="discussion">
1375
+ <p>
1376
+ Returns the value of attribute score
1377
+ </p>
1378
+
1379
+
1380
+ </div>
1381
+ </div>
1382
+ <div class="tags">
1383
+
1384
+ </div><table class="source_code">
1385
+ <tr>
1386
+ <td>
1387
+ <pre class="lines">
1388
+
1389
+
1390
+ 3
1391
+ 4
1392
+ 5</pre>
1393
+ </td>
1394
+ <td>
1395
+ <pre class="code"><span class="info file"># File 'lib/stacked/question.rb', line 3</span>
1396
+
1397
+ <span class='def def kw'>def</span> <span class='score identifier id'>score</span>
1398
+ <span class='@score ivar id'>@score</span>
1399
+ <span class='end end kw'>end</span>
1400
+ </pre>
1401
+ </td>
1402
+ </tr>
1403
+ </table>
1404
+ </div>
1405
+
1406
+
1407
+ <span id="tags=-instance_method"></span>
1408
+ <span id="tags-instance_method"></span>
1409
+ <div class="method_details ">
1410
+ <p class="signature " id="tags-instance_method">
1411
+
1412
+ - (<tt>Object</tt>) <strong>tags</strong>
1413
+
1414
+
1415
+
1416
+ </p><div class="docstring">
1417
+ <div class="discussion">
1418
+ <p>
1419
+ Returns the value of attribute tags
1420
+ </p>
1421
+
1422
+
1423
+ </div>
1424
+ </div>
1425
+ <div class="tags">
1426
+
1427
+ </div><table class="source_code">
1428
+ <tr>
1429
+ <td>
1430
+ <pre class="lines">
1431
+
1432
+
1433
+ 3
1434
+ 4
1435
+ 5</pre>
1436
+ </td>
1437
+ <td>
1438
+ <pre class="code"><span class="info file"># File 'lib/stacked/question.rb', line 3</span>
1439
+
1440
+ <span class='def def kw'>def</span> <span class='tags identifier id'>tags</span>
1441
+ <span class='@tags ivar id'>@tags</span>
1442
+ <span class='end end kw'>end</span>
1443
+ </pre>
1444
+ </td>
1445
+ </tr>
1446
+ </table>
1447
+ </div>
1448
+
1449
+
1450
+ <span id="title=-instance_method"></span>
1451
+ <span id="title-instance_method"></span>
1452
+ <div class="method_details ">
1453
+ <p class="signature " id="title-instance_method">
1454
+
1455
+ - (<tt>Object</tt>) <strong>title</strong>
1456
+
1457
+
1458
+
1459
+ </p><div class="docstring">
1460
+ <div class="discussion">
1461
+ <p>
1462
+ Returns the value of attribute title
1463
+ </p>
1464
+
1465
+
1466
+ </div>
1467
+ </div>
1468
+ <div class="tags">
1469
+
1470
+ </div><table class="source_code">
1471
+ <tr>
1472
+ <td>
1473
+ <pre class="lines">
1474
+
1475
+
1476
+ 3
1477
+ 4
1478
+ 5</pre>
1479
+ </td>
1480
+ <td>
1481
+ <pre class="code"><span class="info file"># File 'lib/stacked/question.rb', line 3</span>
1482
+
1483
+ <span class='def def kw'>def</span> <span class='title identifier id'>title</span>
1484
+ <span class='@title ivar id'>@title</span>
1485
+ <span class='end end kw'>end</span>
1486
+ </pre>
1487
+ </td>
1488
+ </tr>
1489
+ </table>
1490
+ </div>
1491
+
1492
+
1493
+ <span id="up_vote_count=-instance_method"></span>
1494
+ <span id="up_vote_count-instance_method"></span>
1495
+ <div class="method_details ">
1496
+ <p class="signature " id="up_vote_count-instance_method">
1497
+
1498
+ - (<tt>Object</tt>) <strong>up_vote_count</strong>
1499
+
1500
+
1501
+
1502
+ <span class="aliases">Also known as:
1503
+ <span class="names"><span id='up_votes-instance_method'>up_votes</span></span>
1504
+ </span>
1505
+
1506
+ </p><div class="docstring">
1507
+ <div class="discussion">
1508
+ <p>
1509
+ Returns the value of attribute up_vote_count
1510
+ </p>
1511
+
1512
+
1513
+ </div>
1514
+ </div>
1515
+ <div class="tags">
1516
+
1517
+ </div><table class="source_code">
1518
+ <tr>
1519
+ <td>
1520
+ <pre class="lines">
1521
+
1522
+
1523
+ 3
1524
+ 4
1525
+ 5</pre>
1526
+ </td>
1527
+ <td>
1528
+ <pre class="code"><span class="info file"># File 'lib/stacked/question.rb', line 3</span>
1529
+
1530
+ <span class='def def kw'>def</span> <span class='up_vote_count identifier id'>up_vote_count</span>
1531
+ <span class='@up_vote_count ivar id'>@up_vote_count</span>
1532
+ <span class='end end kw'>end</span>
1533
+ </pre>
1534
+ </td>
1535
+ </tr>
1536
+ </table>
1537
+ </div>
1538
+
1539
+
1540
+ <span id="view_count=-instance_method"></span>
1541
+ <span id="view_count-instance_method"></span>
1542
+ <div class="method_details ">
1543
+ <p class="signature " id="view_count-instance_method">
1544
+
1545
+ - (<tt>Object</tt>) <strong>view_count</strong>
1546
+
1547
+
1548
+
1549
+ <span class="aliases">Also known as:
1550
+ <span class="names"><span id='views-instance_method'>views</span></span>
1551
+ </span>
1552
+
1553
+ </p><div class="docstring">
1554
+ <div class="discussion">
1555
+ <p>
1556
+ Returns the value of attribute view_count
1557
+ </p>
1558
+
1559
+
1560
+ </div>
1561
+ </div>
1562
+ <div class="tags">
1563
+
1564
+ </div><table class="source_code">
1565
+ <tr>
1566
+ <td>
1567
+ <pre class="lines">
1568
+
1569
+
1570
+ 3
1571
+ 4
1572
+ 5</pre>
1573
+ </td>
1574
+ <td>
1575
+ <pre class="code"><span class="info file"># File 'lib/stacked/question.rb', line 3</span>
1576
+
1577
+ <span class='def def kw'>def</span> <span class='view_count identifier id'>view_count</span>
1578
+ <span class='@view_count ivar id'>@view_count</span>
1579
+ <span class='end end kw'>end</span>
1580
+ </pre>
1581
+ </td>
1582
+ </tr>
1583
+ </table>
1584
+ </div>
1585
+
1586
+ </div>
1587
+
1588
+
1589
+ <div id="class_method_details" class="method_details_list">
1590
+ <h2>Class Method Details</h2>
1591
+
1592
+
1593
+ <div class="method_details first">
1594
+ <p class="signature first" id="tagged-class_method">
1595
+
1596
+ + (<tt>Object</tt>) <strong>tagged</strong>(options = {})
1597
+
1598
+
1599
+
1600
+ </p><table class="source_code">
1601
+ <tr>
1602
+ <td>
1603
+ <pre class="lines">
1604
+
1605
+
1606
+ 69
1607
+ 70
1608
+ 71
1609
+ 72
1610
+ 73</pre>
1611
+ </td>
1612
+ <td>
1613
+ <pre class="code"><span class="info file"># File 'lib/stacked/question.rb', line 69</span>
1614
+
1615
+ <span class='def def kw'>def</span> <span class='tagged identifier id'>tagged</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
1616
+ <span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:tagged</span><span class='rbrack token'>]</span> <span class='opasgn op'>||=</span> <span class='lbrack token'>[</span><span class='rbrack token'>]</span>
1617
+ <span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:tagged</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:tagged</span><span class='rbrack token'>]</span> <span class='lshft op'>&lt;&lt;</span> <span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:tags</span><span class='rbrack token'>]</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='join identifier id'>join</span><span class='lparen token'>(</span><span class='string val'>&quot;, &quot;</span><span class='rparen token'>)</span>
1618
+ <span class='records identifier id'>records</span><span class='lparen token'>(</span><span class='path identifier id'>path</span> <span class='plus op'>+</span> <span class='string val'>&quot;tagged&quot;</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span>
1619
+ <span class='end end kw'>end</span>
1620
+ </pre>
1621
+ </td>
1622
+ </tr>
1623
+ </table>
1624
+ </div>
1625
+
1626
+ <div class="method_details ">
1627
+ <p class="signature " id="unanswered_by_votes-class_method">
1628
+
1629
+ + (<tt>Object</tt>) <strong>unanswered_by_votes</strong>(options = {})
1630
+
1631
+
1632
+
1633
+ </p><table class="source_code">
1634
+ <tr>
1635
+ <td>
1636
+ <pre class="lines">
1637
+
1638
+
1639
+ 65
1640
+ 66
1641
+ 67</pre>
1642
+ </td>
1643
+ <td>
1644
+ <pre class="code"><span class="info file"># File 'lib/stacked/question.rb', line 65</span>
1645
+
1646
+ <span class='def def kw'>def</span> <span class='unanswered_by_votes identifier id'>unanswered_by_votes</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
1647
+ <span class='records identifier id'>records</span><span class='lparen token'>(</span><span class='path identifier id'>path</span> <span class='plus op'>+</span> <span class='string val'>&quot;unanswered/votes&quot;</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span>
1648
+ <span class='end end kw'>end</span>
1649
+ </pre>
1650
+ </td>
1651
+ </tr>
1652
+ </table>
1653
+ </div>
1654
+
1655
+ </div>
1656
+
1657
+ <div id="instance_method_details" class="method_details_list">
1658
+ <h2>Instance Method Details</h2>
1659
+
1660
+
1661
+ <div class="method_details first">
1662
+ <p class="signature first" id="accepted_answer-instance_method">
1663
+
1664
+ - (<tt>Object</tt>) <strong>accepted_answer</strong>
1665
+
1666
+
1667
+
1668
+ </p><table class="source_code">
1669
+ <tr>
1670
+ <td>
1671
+ <pre class="lines">
1672
+
1673
+
1674
+ 36
1675
+ 37
1676
+ 38</pre>
1677
+ </td>
1678
+ <td>
1679
+ <pre class="code"><span class="info file"># File 'lib/stacked/question.rb', line 36</span>
1680
+
1681
+ <span class='def def kw'>def</span> <span class='accepted_answer identifier id'>accepted_answer</span>
1682
+ <span class='Answer constant id'>Answer</span><span class='dot token'>.</span><span class='find identifier id'>find</span><span class='lparen token'>(</span><span class='accepted_answer_id identifier id'>accepted_answer_id</span><span class='rparen token'>)</span> <span class='if if_mod kw'>if</span> <span class='accepted_answer_id identifier id'>accepted_answer_id</span>
1683
+ <span class='end end kw'>end</span>
1684
+ </pre>
1685
+ </td>
1686
+ </tr>
1687
+ </table>
1688
+ </div>
1689
+
1690
+ <div class="method_details ">
1691
+ <p class="signature " id="owner-instance_method">
1692
+
1693
+ - (<tt>Object</tt>) <strong>owner</strong>
1694
+
1695
+
1696
+
1697
+ <span class="aliases">Also known as:
1698
+ <span class="names"><span id='user-instance_method'>user</span></span>
1699
+ </span>
1700
+
1701
+ </p><table class="source_code">
1702
+ <tr>
1703
+ <td>
1704
+ <pre class="lines">
1705
+
1706
+
1707
+ 40
1708
+ 41
1709
+ 42</pre>
1710
+ </td>
1711
+ <td>
1712
+ <pre class="code"><span class="info file"># File 'lib/stacked/question.rb', line 40</span>
1713
+
1714
+ <span class='def def kw'>def</span> <span class='owner identifier id'>owner</span>
1715
+ <span class='@owner ivar id'>@owner</span> <span class='opasgn op'>||=</span> <span class='User constant id'>User</span><span class='dot token'>.</span><span class='find identifier id'>find</span><span class='lparen token'>(</span><span class='owner_user_id identifier id'>owner_user_id</span><span class='rparen token'>)</span>
1716
+ <span class='end end kw'>end</span>
1717
+ </pre>
1718
+ </td>
1719
+ </tr>
1720
+ </table>
1721
+ </div>
1722
+
1723
+ <div class="method_details ">
1724
+ <p class="signature " id="timeline-instance_method">
1725
+
1726
+ - (<tt>Object</tt>) <strong>timeline</strong>(options = {})
1727
+
1728
+
1729
+
1730
+ </p><table class="source_code">
1731
+ <tr>
1732
+ <td>
1733
+ <pre class="lines">
1734
+
1735
+
1736
+ 44
1737
+ 45
1738
+ 46</pre>
1739
+ </td>
1740
+ <td>
1741
+ <pre class="code"><span class="info file"># File 'lib/stacked/question.rb', line 44</span>
1742
+
1743
+ <span class='def def kw'>def</span> <span class='timeline identifier id'>timeline</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
1744
+ <span class='parse_post_timeline identifier id'>parse_post_timeline</span><span class='lparen token'>(</span><span class='request identifier id'>request</span><span class='lparen token'>(</span><span class='singular identifier id'>singular</span><span class='lparen token'>(</span><span class='id identifier id'>id</span><span class='rparen token'>)</span> <span class='plus op'>+</span> <span class='string val'>&quot;timeline&quot;</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
1745
+ <span class='end end kw'>end</span>
1746
+ </pre>
1747
+ </td>
1748
+ </tr>
1749
+ </table>
1750
+ </div>
1751
+
1752
+ </div>
1753
+
1754
+ </div>
1755
+
1756
+ <div id="footer">
1757
+ Generated on Sun Apr 4 18:16:33 2010 by
1758
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
1759
+ 0.5.4 (ruby-1.8.7).
1760
+ </div>
1761
+
1762
+ </body>
1763
+ </html>