stacked 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,1037 @@
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::Comment</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 (C)</a> &raquo;
27
+ <span class='title'><a href="../Stacked.html" title="Stacked (module)">Stacked</a></span>
28
+ &raquo;
29
+ <span class="title">Comment</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::Comment
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::Comment</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/comment.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="#body-instance_method" title="#body (instance method)">- (Object) <strong>body</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 body.
113
+ </p>
114
+ </div></span>
115
+
116
+ </li>
117
+
118
+
119
+ <li class="public ">
120
+ <span class="summary_signature">
121
+
122
+ <a href="#comment_id-instance_method" title="#comment_id (instance method)">- (Object) <strong>comment_id</strong> </a>
123
+
124
+
125
+
126
+ (also: #id)
127
+
128
+ </span>
129
+
130
+
131
+
132
+
133
+
134
+
135
+
136
+
137
+
138
+
139
+ <span class="summary_desc"><div class='inline'><p>
140
+ Returns the value of attribute comment_id.
141
+ </p>
142
+ </div></span>
143
+
144
+ </li>
145
+
146
+
147
+ <li class="public ">
148
+ <span class="summary_signature">
149
+
150
+ <a href="#creation_date-instance_method" title="#creation_date (instance method)">- (Object) <strong>creation_date</strong> </a>
151
+
152
+
153
+
154
+ (also: #created_at)
155
+
156
+ </span>
157
+
158
+
159
+
160
+
161
+
162
+
163
+
164
+
165
+
166
+
167
+ <span class="summary_desc"><div class='inline'><p>
168
+ Returns the value of attribute creation_date.
169
+ </p>
170
+ </div></span>
171
+
172
+ </li>
173
+
174
+
175
+ <li class="public ">
176
+ <span class="summary_signature">
177
+
178
+ <a href="#edit_count-instance_method" title="#edit_count (instance method)">- (Object) <strong>edit_count</strong> </a>
179
+
180
+
181
+
182
+ (also: #edits)
183
+
184
+ </span>
185
+
186
+
187
+
188
+
189
+
190
+
191
+
192
+
193
+
194
+
195
+ <span class="summary_desc"><div class='inline'><p>
196
+ Returns the value of attribute edit_count.
197
+ </p>
198
+ </div></span>
199
+
200
+ </li>
201
+
202
+
203
+ <li class="public ">
204
+ <span class="summary_signature">
205
+
206
+ <a href="#owner_display_name-instance_method" title="#owner_display_name (instance method)">- (Object) <strong>owner_display_name</strong> </a>
207
+
208
+
209
+
210
+ </span>
211
+
212
+
213
+
214
+
215
+
216
+
217
+
218
+
219
+
220
+
221
+ <span class="summary_desc"><div class='inline'><p>
222
+ Returns the value of attribute owner_display_name.
223
+ </p>
224
+ </div></span>
225
+
226
+ </li>
227
+
228
+
229
+ <li class="public ">
230
+ <span class="summary_signature">
231
+
232
+ <a href="#owner_user_id-instance_method" title="#owner_user_id (instance method)">- (Object) <strong>owner_user_id</strong> </a>
233
+
234
+
235
+
236
+ </span>
237
+
238
+
239
+
240
+
241
+
242
+
243
+
244
+
245
+
246
+
247
+ <span class="summary_desc"><div class='inline'><p>
248
+ Returns the value of attribute owner_user_id.
249
+ </p>
250
+ </div></span>
251
+
252
+ </li>
253
+
254
+
255
+ <li class="public ">
256
+ <span class="summary_signature">
257
+
258
+ <a href="#post_id-instance_method" title="#post_id (instance method)">- (Object) <strong>post_id</strong> </a>
259
+
260
+
261
+
262
+ </span>
263
+
264
+
265
+
266
+
267
+
268
+
269
+
270
+
271
+
272
+
273
+ <span class="summary_desc"><div class='inline'><p>
274
+ Returns the value of attribute post_id.
275
+ </p>
276
+ </div></span>
277
+
278
+ </li>
279
+
280
+
281
+ <li class="public ">
282
+ <span class="summary_signature">
283
+
284
+ <a href="#post_type-instance_method" title="#post_type (instance method)">- (Object) <strong>post_type</strong> </a>
285
+
286
+
287
+
288
+ </span>
289
+
290
+
291
+
292
+
293
+
294
+
295
+
296
+
297
+
298
+
299
+ <span class="summary_desc"><div class='inline'><p>
300
+ Returns the value of attribute post_type.
301
+ </p>
302
+ </div></span>
303
+
304
+ </li>
305
+
306
+
307
+ <li class="public ">
308
+ <span class="summary_signature">
309
+
310
+ <a href="#reply_to_user_id-instance_method" title="#reply_to_user_id (instance method)">- (Object) <strong>reply_to_user_id</strong> </a>
311
+
312
+
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 reply_to_user_id.
327
+ </p>
328
+ </div></span>
329
+
330
+ </li>
331
+
332
+
333
+ <li class="public ">
334
+ <span class="summary_signature">
335
+
336
+ <a href="#score-instance_method" title="#score (instance method)">- (Object) <strong>score</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 score.
353
+ </p>
354
+ </div></span>
355
+
356
+ </li>
357
+
358
+
359
+ </ul>
360
+
361
+
362
+
363
+ <h2>Class Method Summary</h2>
364
+
365
+ <ul class="summary">
366
+
367
+ <li class="public ">
368
+ <span class="summary_signature">
369
+
370
+ <a href="#all-class_method" title="all (class method)">+ (Object) <strong>all</strong>(*args) </a>
371
+
372
+
373
+
374
+ </span>
375
+
376
+
377
+
378
+
379
+
380
+
381
+
382
+ <span class="summary_desc"><div class='inline'></div></span>
383
+
384
+ </li>
385
+
386
+
387
+ </ul>
388
+
389
+ <h2>Instance Method Summary</h2>
390
+
391
+ <ul class="summary">
392
+
393
+ <li class="public ">
394
+ <span class="summary_signature">
395
+
396
+ <a href="#owner-instance_method" title="#owner (instance method)">- (Object) <strong>owner</strong> </a>
397
+
398
+
399
+
400
+ (also: #user)
401
+
402
+ </span>
403
+
404
+
405
+
406
+
407
+
408
+
409
+
410
+ <span class="summary_desc"><div class='inline'></div></span>
411
+
412
+ </li>
413
+
414
+
415
+ <li class="public ">
416
+ <span class="summary_signature">
417
+
418
+ <a href="#reply_to-instance_method" title="#reply_to (instance method)">- (Object) <strong>reply_to</strong> </a>
419
+
420
+
421
+
422
+ </span>
423
+
424
+
425
+
426
+
427
+
428
+
429
+
430
+ <span class="summary_desc"><div class='inline'></div></span>
431
+
432
+ </li>
433
+
434
+
435
+ </ul>
436
+
437
+
438
+
439
+
440
+
441
+
442
+
443
+
444
+
445
+
446
+ <h3 class="inherited">Methods inherited from <a href="Base.html" title="Stacked::Base (class)">Base</a></h3>
447
+ <p class="inherited"><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>
448
+
449
+ <div id="constructor_details" class="method_details_list">
450
+ <h2>Constructor Details</h2>
451
+
452
+ <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>
453
+
454
+ </div>
455
+
456
+ <div id="instance_attr_details" class="attr_details">
457
+ <h2>Instance Attribute Details</h2>
458
+
459
+
460
+ <span id="body=-instance_method"></span>
461
+ <span id="body-instance_method"></span>
462
+ <div class="method_details first">
463
+ <p class="signature first" id="body-instance_method">
464
+
465
+ - (<tt>Object</tt>) <strong>body</strong>
466
+
467
+
468
+
469
+ </p><div class="docstring">
470
+ <div class="discussion">
471
+ <p>
472
+ Returns the value of attribute body
473
+ </p>
474
+
475
+
476
+ </div>
477
+ </div>
478
+ <div class="tags">
479
+
480
+ </div><table class="source_code">
481
+ <tr>
482
+ <td>
483
+ <pre class="lines">
484
+
485
+
486
+ 3
487
+ 4
488
+ 5</pre>
489
+ </td>
490
+ <td>
491
+ <pre class="code"><span class="info file"># File 'lib/stacked/comment.rb', line 3</span>
492
+
493
+ <span class='def def kw'>def</span> <span class='body identifier id'>body</span>
494
+ <span class='@body ivar id'>@body</span>
495
+ <span class='end end kw'>end</span>
496
+ </pre>
497
+ </td>
498
+ </tr>
499
+ </table>
500
+ </div>
501
+
502
+
503
+ <span id="comment_id=-instance_method"></span>
504
+ <span id="comment_id-instance_method"></span>
505
+ <div class="method_details ">
506
+ <p class="signature " id="comment_id-instance_method">
507
+
508
+ - (<tt>Object</tt>) <strong>comment_id</strong>
509
+
510
+
511
+
512
+ <span class="aliases">Also known as:
513
+ <span class="names"><span id='id-instance_method'>id</span></span>
514
+ </span>
515
+
516
+ </p><div class="docstring">
517
+ <div class="discussion">
518
+ <p>
519
+ Returns the value of attribute comment_id
520
+ </p>
521
+
522
+
523
+ </div>
524
+ </div>
525
+ <div class="tags">
526
+
527
+ </div><table class="source_code">
528
+ <tr>
529
+ <td>
530
+ <pre class="lines">
531
+
532
+
533
+ 3
534
+ 4
535
+ 5</pre>
536
+ </td>
537
+ <td>
538
+ <pre class="code"><span class="info file"># File 'lib/stacked/comment.rb', line 3</span>
539
+
540
+ <span class='def def kw'>def</span> <span class='comment_id identifier id'>comment_id</span>
541
+ <span class='@comment_id ivar id'>@comment_id</span>
542
+ <span class='end end kw'>end</span>
543
+ </pre>
544
+ </td>
545
+ </tr>
546
+ </table>
547
+ </div>
548
+
549
+
550
+ <span id="creation_date=-instance_method"></span>
551
+ <span id="creation_date-instance_method"></span>
552
+ <div class="method_details ">
553
+ <p class="signature " id="creation_date-instance_method">
554
+
555
+ - (<tt>Object</tt>) <strong>creation_date</strong>
556
+
557
+
558
+
559
+ <span class="aliases">Also known as:
560
+ <span class="names"><span id='created_at-instance_method'>created_at</span></span>
561
+ </span>
562
+
563
+ </p><div class="docstring">
564
+ <div class="discussion">
565
+ <p>
566
+ Returns the value of attribute creation_date
567
+ </p>
568
+
569
+
570
+ </div>
571
+ </div>
572
+ <div class="tags">
573
+
574
+ </div><table class="source_code">
575
+ <tr>
576
+ <td>
577
+ <pre class="lines">
578
+
579
+
580
+ 3
581
+ 4
582
+ 5</pre>
583
+ </td>
584
+ <td>
585
+ <pre class="code"><span class="info file"># File 'lib/stacked/comment.rb', line 3</span>
586
+
587
+ <span class='def def kw'>def</span> <span class='creation_date identifier id'>creation_date</span>
588
+ <span class='@creation_date ivar id'>@creation_date</span>
589
+ <span class='end end kw'>end</span>
590
+ </pre>
591
+ </td>
592
+ </tr>
593
+ </table>
594
+ </div>
595
+
596
+
597
+ <span id="edit_count=-instance_method"></span>
598
+ <span id="edit_count-instance_method"></span>
599
+ <div class="method_details ">
600
+ <p class="signature " id="edit_count-instance_method">
601
+
602
+ - (<tt>Object</tt>) <strong>edit_count</strong>
603
+
604
+
605
+
606
+ <span class="aliases">Also known as:
607
+ <span class="names"><span id='edits-instance_method'>edits</span></span>
608
+ </span>
609
+
610
+ </p><div class="docstring">
611
+ <div class="discussion">
612
+ <p>
613
+ Returns the value of attribute edit_count
614
+ </p>
615
+
616
+
617
+ </div>
618
+ </div>
619
+ <div class="tags">
620
+
621
+ </div><table class="source_code">
622
+ <tr>
623
+ <td>
624
+ <pre class="lines">
625
+
626
+
627
+ 3
628
+ 4
629
+ 5</pre>
630
+ </td>
631
+ <td>
632
+ <pre class="code"><span class="info file"># File 'lib/stacked/comment.rb', line 3</span>
633
+
634
+ <span class='def def kw'>def</span> <span class='edit_count identifier id'>edit_count</span>
635
+ <span class='@edit_count ivar id'>@edit_count</span>
636
+ <span class='end end kw'>end</span>
637
+ </pre>
638
+ </td>
639
+ </tr>
640
+ </table>
641
+ </div>
642
+
643
+
644
+ <span id="owner_display_name=-instance_method"></span>
645
+ <span id="owner_display_name-instance_method"></span>
646
+ <div class="method_details ">
647
+ <p class="signature " id="owner_display_name-instance_method">
648
+
649
+ - (<tt>Object</tt>) <strong>owner_display_name</strong>
650
+
651
+
652
+
653
+ </p><div class="docstring">
654
+ <div class="discussion">
655
+ <p>
656
+ Returns the value of attribute owner_display_name
657
+ </p>
658
+
659
+
660
+ </div>
661
+ </div>
662
+ <div class="tags">
663
+
664
+ </div><table class="source_code">
665
+ <tr>
666
+ <td>
667
+ <pre class="lines">
668
+
669
+
670
+ 3
671
+ 4
672
+ 5</pre>
673
+ </td>
674
+ <td>
675
+ <pre class="code"><span class="info file"># File 'lib/stacked/comment.rb', line 3</span>
676
+
677
+ <span class='def def kw'>def</span> <span class='owner_display_name identifier id'>owner_display_name</span>
678
+ <span class='@owner_display_name ivar id'>@owner_display_name</span>
679
+ <span class='end end kw'>end</span>
680
+ </pre>
681
+ </td>
682
+ </tr>
683
+ </table>
684
+ </div>
685
+
686
+
687
+ <span id="owner_user_id=-instance_method"></span>
688
+ <span id="owner_user_id-instance_method"></span>
689
+ <div class="method_details ">
690
+ <p class="signature " id="owner_user_id-instance_method">
691
+
692
+ - (<tt>Object</tt>) <strong>owner_user_id</strong>
693
+
694
+
695
+
696
+ </p><div class="docstring">
697
+ <div class="discussion">
698
+ <p>
699
+ Returns the value of attribute owner_user_id
700
+ </p>
701
+
702
+
703
+ </div>
704
+ </div>
705
+ <div class="tags">
706
+
707
+ </div><table class="source_code">
708
+ <tr>
709
+ <td>
710
+ <pre class="lines">
711
+
712
+
713
+ 3
714
+ 4
715
+ 5</pre>
716
+ </td>
717
+ <td>
718
+ <pre class="code"><span class="info file"># File 'lib/stacked/comment.rb', line 3</span>
719
+
720
+ <span class='def def kw'>def</span> <span class='owner_user_id identifier id'>owner_user_id</span>
721
+ <span class='@owner_user_id ivar id'>@owner_user_id</span>
722
+ <span class='end end kw'>end</span>
723
+ </pre>
724
+ </td>
725
+ </tr>
726
+ </table>
727
+ </div>
728
+
729
+
730
+ <span id="post_id=-instance_method"></span>
731
+ <span id="post_id-instance_method"></span>
732
+ <div class="method_details ">
733
+ <p class="signature " id="post_id-instance_method">
734
+
735
+ - (<tt>Object</tt>) <strong>post_id</strong>
736
+
737
+
738
+
739
+ </p><div class="docstring">
740
+ <div class="discussion">
741
+ <p>
742
+ Returns the value of attribute post_id
743
+ </p>
744
+
745
+
746
+ </div>
747
+ </div>
748
+ <div class="tags">
749
+
750
+ </div><table class="source_code">
751
+ <tr>
752
+ <td>
753
+ <pre class="lines">
754
+
755
+
756
+ 3
757
+ 4
758
+ 5</pre>
759
+ </td>
760
+ <td>
761
+ <pre class="code"><span class="info file"># File 'lib/stacked/comment.rb', line 3</span>
762
+
763
+ <span class='def def kw'>def</span> <span class='post_id identifier id'>post_id</span>
764
+ <span class='@post_id ivar id'>@post_id</span>
765
+ <span class='end end kw'>end</span>
766
+ </pre>
767
+ </td>
768
+ </tr>
769
+ </table>
770
+ </div>
771
+
772
+
773
+ <span id="post_type=-instance_method"></span>
774
+ <span id="post_type-instance_method"></span>
775
+ <div class="method_details ">
776
+ <p class="signature " id="post_type-instance_method">
777
+
778
+ - (<tt>Object</tt>) <strong>post_type</strong>
779
+
780
+
781
+
782
+ </p><div class="docstring">
783
+ <div class="discussion">
784
+ <p>
785
+ Returns the value of attribute post_type
786
+ </p>
787
+
788
+
789
+ </div>
790
+ </div>
791
+ <div class="tags">
792
+
793
+ </div><table class="source_code">
794
+ <tr>
795
+ <td>
796
+ <pre class="lines">
797
+
798
+
799
+ 3
800
+ 4
801
+ 5</pre>
802
+ </td>
803
+ <td>
804
+ <pre class="code"><span class="info file"># File 'lib/stacked/comment.rb', line 3</span>
805
+
806
+ <span class='def def kw'>def</span> <span class='post_type identifier id'>post_type</span>
807
+ <span class='@post_type ivar id'>@post_type</span>
808
+ <span class='end end kw'>end</span>
809
+ </pre>
810
+ </td>
811
+ </tr>
812
+ </table>
813
+ </div>
814
+
815
+
816
+ <span id="reply_to_user_id=-instance_method"></span>
817
+ <span id="reply_to_user_id-instance_method"></span>
818
+ <div class="method_details ">
819
+ <p class="signature " id="reply_to_user_id-instance_method">
820
+
821
+ - (<tt>Object</tt>) <strong>reply_to_user_id</strong>
822
+
823
+
824
+
825
+ </p><div class="docstring">
826
+ <div class="discussion">
827
+ <p>
828
+ Returns the value of attribute reply_to_user_id
829
+ </p>
830
+
831
+
832
+ </div>
833
+ </div>
834
+ <div class="tags">
835
+
836
+ </div><table class="source_code">
837
+ <tr>
838
+ <td>
839
+ <pre class="lines">
840
+
841
+
842
+ 3
843
+ 4
844
+ 5</pre>
845
+ </td>
846
+ <td>
847
+ <pre class="code"><span class="info file"># File 'lib/stacked/comment.rb', line 3</span>
848
+
849
+ <span class='def def kw'>def</span> <span class='reply_to_user_id identifier id'>reply_to_user_id</span>
850
+ <span class='@reply_to_user_id ivar id'>@reply_to_user_id</span>
851
+ <span class='end end kw'>end</span>
852
+ </pre>
853
+ </td>
854
+ </tr>
855
+ </table>
856
+ </div>
857
+
858
+
859
+ <span id="score=-instance_method"></span>
860
+ <span id="score-instance_method"></span>
861
+ <div class="method_details ">
862
+ <p class="signature " id="score-instance_method">
863
+
864
+ - (<tt>Object</tt>) <strong>score</strong>
865
+
866
+
867
+
868
+ </p><div class="docstring">
869
+ <div class="discussion">
870
+ <p>
871
+ Returns the value of attribute score
872
+ </p>
873
+
874
+
875
+ </div>
876
+ </div>
877
+ <div class="tags">
878
+
879
+ </div><table class="source_code">
880
+ <tr>
881
+ <td>
882
+ <pre class="lines">
883
+
884
+
885
+ 3
886
+ 4
887
+ 5</pre>
888
+ </td>
889
+ <td>
890
+ <pre class="code"><span class="info file"># File 'lib/stacked/comment.rb', line 3</span>
891
+
892
+ <span class='def def kw'>def</span> <span class='score identifier id'>score</span>
893
+ <span class='@score ivar id'>@score</span>
894
+ <span class='end end kw'>end</span>
895
+ </pre>
896
+ </td>
897
+ </tr>
898
+ </table>
899
+ </div>
900
+
901
+ </div>
902
+
903
+
904
+ <div id="class_method_details" class="method_details_list">
905
+ <h2>Class Method Details</h2>
906
+
907
+
908
+ <div class="method_details first">
909
+ <p class="signature first" id="all-class_method">
910
+
911
+ + (<tt>Object</tt>) <strong>all</strong>(*args)
912
+
913
+
914
+
915
+ </p><div class="docstring">
916
+ <div class="discussion">
917
+
918
+
919
+ </div>
920
+ </div>
921
+ <div class="tags">
922
+ <h3>Raises:</h3>
923
+ <ul class="raise">
924
+
925
+ <li>
926
+
927
+ <span class='type'>(<tt><a href="NotImplemented.html" title="Stacked::NotImplemented (class)">Stacked::NotImplemented</a></tt>)</span>
928
+
929
+
930
+
931
+
932
+ </li>
933
+
934
+ </ul>
935
+
936
+ </div><table class="source_code">
937
+ <tr>
938
+ <td>
939
+ <pre class="lines">
940
+
941
+
942
+ 15
943
+ 16
944
+ 17</pre>
945
+ </td>
946
+ <td>
947
+ <pre class="code"><span class="info file"># File 'lib/stacked/comment.rb', line 15</span>
948
+
949
+ <span class='def def kw'>def</span> <span class='all identifier id'>all</span><span class='lparen token'>(</span><span class='mult op'>*</span><span class='args identifier id'>args</span><span class='rparen token'>)</span>
950
+ <span class='raise identifier id'>raise</span> <span class='Stacked constant id'>Stacked</span><span class='colon2 op'>::</span><span class='NotImplemented constant id'>NotImplemented</span>
951
+ <span class='end end kw'>end</span>
952
+ </pre>
953
+ </td>
954
+ </tr>
955
+ </table>
956
+ </div>
957
+
958
+ </div>
959
+
960
+ <div id="instance_method_details" class="method_details_list">
961
+ <h2>Instance Method Details</h2>
962
+
963
+
964
+ <div class="method_details first">
965
+ <p class="signature first" id="owner-instance_method">
966
+
967
+ - (<tt>Object</tt>) <strong>owner</strong>
968
+
969
+
970
+
971
+ <span class="aliases">Also known as:
972
+ <span class="names"><span id='user-instance_method'>user</span></span>
973
+ </span>
974
+
975
+ </p><table class="source_code">
976
+ <tr>
977
+ <td>
978
+ <pre class="lines">
979
+
980
+
981
+ 24
982
+ 25
983
+ 26</pre>
984
+ </td>
985
+ <td>
986
+ <pre class="code"><span class="info file"># File 'lib/stacked/comment.rb', line 24</span>
987
+
988
+ <span class='def def kw'>def</span> <span class='owner identifier id'>owner</span>
989
+ <span class='@owner ivar id'>@owner</span> <span class='opasgn op'>||=</span> <span class='Stacked constant id'>Stacked</span><span class='colon2 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>
990
+ <span class='end end kw'>end</span>
991
+ </pre>
992
+ </td>
993
+ </tr>
994
+ </table>
995
+ </div>
996
+
997
+ <div class="method_details ">
998
+ <p class="signature " id="reply_to-instance_method">
999
+
1000
+ - (<tt>Object</tt>) <strong>reply_to</strong>
1001
+
1002
+
1003
+
1004
+ </p><table class="source_code">
1005
+ <tr>
1006
+ <td>
1007
+ <pre class="lines">
1008
+
1009
+
1010
+ 20
1011
+ 21
1012
+ 22</pre>
1013
+ </td>
1014
+ <td>
1015
+ <pre class="code"><span class="info file"># File 'lib/stacked/comment.rb', line 20</span>
1016
+
1017
+ <span class='def def kw'>def</span> <span class='reply_to identifier id'>reply_to</span>
1018
+ <span class='Stacked constant id'>Stacked</span><span class='colon2 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='reply_to_user_id identifier id'>reply_to_user_id</span><span class='rparen token'>)</span> <span class='if if_mod kw'>if</span> <span class='reply_to_user_id identifier id'>reply_to_user_id</span>
1019
+ <span class='end end kw'>end</span>
1020
+ </pre>
1021
+ </td>
1022
+ </tr>
1023
+ </table>
1024
+ </div>
1025
+
1026
+ </div>
1027
+
1028
+ </div>
1029
+
1030
+ <div id="footer">
1031
+ Generated on Sun Apr 4 18:16:33 2010 by
1032
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
1033
+ 0.5.4 (ruby-1.8.7).
1034
+ </div>
1035
+
1036
+ </body>
1037
+ </html>