elabs_matchers 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. data/Gemfile.lock +38 -34
  2. data/README.md +103 -0
  3. data/doc/Cucumber.html +116 -0
  4. data/doc/ElabsMatchers/Cucumber/Common.html +145 -0
  5. data/doc/ElabsMatchers/Cucumber.html +108 -0
  6. data/doc/ElabsMatchers/Helpers/Capybara.html +241 -0
  7. data/doc/ElabsMatchers/Helpers/Common.html +213 -0
  8. data/doc/ElabsMatchers/Helpers/Fixtures.html +201 -0
  9. data/doc/ElabsMatchers/Helpers/Orm.html +289 -0
  10. data/doc/ElabsMatchers/Helpers/Session.html +497 -0
  11. data/doc/ElabsMatchers/Helpers.html +110 -0
  12. data/doc/ElabsMatchers/Matchers/Capybara/Common.html +1159 -0
  13. data/doc/ElabsMatchers/Matchers/Capybara.html +38 -11
  14. data/doc/ElabsMatchers/Matchers/Rspec/Allow.html +98 -0
  15. data/doc/ElabsMatchers/Matchers/Rspec/Common.html +332 -0
  16. data/doc/ElabsMatchers/Matchers/Rspec/Orm.html +231 -0
  17. data/doc/ElabsMatchers/Matchers/Rspec.html +41 -12
  18. data/doc/ElabsMatchers/Matchers.html +30 -13
  19. data/doc/ElabsMatchers/Orm/Post.html +1041 -0
  20. data/doc/ElabsMatchers/Orm.html +108 -0
  21. data/doc/ElabsMatchers.html +31 -15
  22. data/doc/_index.html +179 -12
  23. data/doc/class_list.html +21 -10
  24. data/doc/css/full_list.css +2 -0
  25. data/doc/css/style.css +19 -15
  26. data/doc/file.README.html +129 -48
  27. data/doc/file_list.html +20 -9
  28. data/doc/frames.html +1 -1
  29. data/doc/index.html +129 -48
  30. data/doc/js/app.js +20 -18
  31. data/doc/js/full_list.js +36 -12
  32. data/doc/js/jquery.js +3 -3
  33. data/doc/method_list.html +308 -9
  34. data/doc/top-level-namespace.html +115 -12
  35. data/elabs_matchers.gemspec +3 -1
  36. data/lib/elabs_matchers/cucumber/common.rb +2 -4
  37. data/lib/elabs_matchers/helpers/common.rb +3 -1
  38. data/lib/elabs_matchers/helpers/session.rb +61 -6
  39. data/lib/elabs_matchers/matchers/capybara/common.rb +58 -13
  40. data/lib/elabs_matchers/matchers/rspec/allow.rb +112 -0
  41. data/lib/elabs_matchers/orm/post.rb +18 -3
  42. data/lib/elabs_matchers/version.rb +1 -1
  43. data/spec/elabs_matchers/helpers/session_spec.rb +35 -0
  44. data/spec/elabs_matchers/matchers/capybara/common_spec.rb +1 -1
  45. data/spec/elabs_matchers/matchers/rspec/allow_spec.rb +80 -0
  46. data/spec/elabs_matchers/matchers/rspec/orm_spec.rb +3 -3
  47. data/spec/spec_helper.rb +10 -1
  48. metadata +109 -101
  49. data/.rvmrc +0 -1
  50. data/README.rdoc +0 -45
@@ -0,0 +1,1041 @@
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 http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Class: ElabsMatchers::Orm::Post
8
+
9
+ &mdash; Documentation by YARD 0.7.5
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../../css/style.css" type="text/css" media="screen" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../../css/common.css" type="text/css" media="screen" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ relpath = '../..';
19
+ if (relpath != '') relpath += '/';
20
+ </script>
21
+
22
+ <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
23
+
24
+ <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
25
+
26
+
27
+ </head>
28
+ <body>
29
+ <script type="text/javascript" charset="utf-8">
30
+ if (window.top.frames.main) document.body.className = 'frames';
31
+ </script>
32
+
33
+ <div id="header">
34
+ <div id="menu">
35
+
36
+ <a href="../../_index.html">Index (P)</a> &raquo;
37
+ <span class='title'><span class='object_link'><a href="../../ElabsMatchers.html" title="ElabsMatchers (module)">ElabsMatchers</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Orm.html" title="ElabsMatchers::Orm (module)">Orm</a></span></span>
38
+ &raquo;
39
+ <span class="title">Post</span>
40
+
41
+
42
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
43
+ </div>
44
+
45
+ <div id="search">
46
+
47
+ <a id="class_list_link" href="#">Class List</a>
48
+
49
+ <a id="method_list_link" href="#">Method List</a>
50
+
51
+ <a id="file_list_link" href="#">File List</a>
52
+
53
+ </div>
54
+ <div class="clear"></div>
55
+ </div>
56
+
57
+ <iframe id="search_frame"></iframe>
58
+
59
+ <div id="content"><h1>Class: ElabsMatchers::Orm::Post
60
+
61
+
62
+
63
+ </h1>
64
+
65
+ <dl class="box">
66
+
67
+ <dt class="r1">Inherits:</dt>
68
+ <dd class="r1">
69
+ <span class="inheritName">Object</span>
70
+
71
+ <ul class="fullTree">
72
+ <li>Object</li>
73
+
74
+ <li class="next">ElabsMatchers::Orm::Post</li>
75
+
76
+ </ul>
77
+ <a href="#" class="inheritanceTree">show all</a>
78
+
79
+ </dd>
80
+
81
+
82
+
83
+
84
+ <dt class="r2">Extended by:</dt>
85
+ <dd class="r2">ActiveModel::Naming</dd>
86
+
87
+
88
+
89
+
90
+ <dt class="r1">Includes:</dt>
91
+ <dd class="r1">ActiveModel::Validations</dd>
92
+
93
+
94
+
95
+
96
+
97
+ <dt class="r2 last">Defined in:</dt>
98
+ <dd class="r2 last">lib/elabs_matchers/orm/post.rb</dd>
99
+
100
+ </dl>
101
+ <div class="clear"></div>
102
+
103
+
104
+
105
+
106
+
107
+ <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
108
+ <ul class="summary">
109
+
110
+ <li class="public ">
111
+ <span class="summary_signature">
112
+
113
+ <a href="#authors-instance_method" title="#authors (instance method)">- (Object) <strong>authors</strong> </a>
114
+
115
+
116
+
117
+ </span>
118
+
119
+
120
+
121
+
122
+
123
+
124
+
125
+
126
+
127
+
128
+
129
+ <span class="summary_desc"><div class='inline'>
130
+ <p>Returns the value of attribute authors.</p>
131
+ </div></span>
132
+
133
+ </li>
134
+
135
+
136
+ <li class="public ">
137
+ <span class="summary_signature">
138
+
139
+ <a href="#body-instance_method" title="#body (instance method)">- (Object) <strong>body</strong> </a>
140
+
141
+
142
+
143
+ </span>
144
+
145
+
146
+
147
+
148
+
149
+
150
+
151
+
152
+
153
+
154
+
155
+ <span class="summary_desc"><div class='inline'>
156
+ <p>Returns the value of attribute body.</p>
157
+ </div></span>
158
+
159
+ </li>
160
+
161
+
162
+ <li class="public ">
163
+ <span class="summary_signature">
164
+
165
+ <a href="#category-instance_method" title="#category (instance method)">- (Object) <strong>category</strong> </a>
166
+
167
+
168
+
169
+ </span>
170
+
171
+
172
+
173
+
174
+
175
+
176
+
177
+
178
+
179
+
180
+
181
+ <span class="summary_desc"><div class='inline'>
182
+ <p>Returns the value of attribute category.</p>
183
+ </div></span>
184
+
185
+ </li>
186
+
187
+
188
+ <li class="public ">
189
+ <span class="summary_signature">
190
+
191
+ <a href="#co_author-instance_method" title="#co_author (instance method)">- (Object) <strong>co_author</strong> </a>
192
+
193
+
194
+
195
+ </span>
196
+
197
+
198
+
199
+
200
+
201
+
202
+
203
+
204
+
205
+
206
+
207
+ <span class="summary_desc"><div class='inline'>
208
+ <p>Returns the value of attribute co_author.</p>
209
+ </div></span>
210
+
211
+ </li>
212
+
213
+
214
+ <li class="public ">
215
+ <span class="summary_signature">
216
+
217
+ <a href="#price-instance_method" title="#price (instance method)">- (Object) <strong>price</strong> </a>
218
+
219
+
220
+
221
+ </span>
222
+
223
+
224
+
225
+
226
+
227
+
228
+
229
+
230
+
231
+
232
+
233
+ <span class="summary_desc"><div class='inline'>
234
+ <p>Returns the value of attribute price.</p>
235
+ </div></span>
236
+
237
+ </li>
238
+
239
+
240
+ <li class="public ">
241
+ <span class="summary_signature">
242
+
243
+ <a href="#published_on-instance_method" title="#published_on (instance method)">- (Object) <strong>published_on</strong> </a>
244
+
245
+
246
+
247
+ </span>
248
+
249
+
250
+
251
+
252
+
253
+
254
+
255
+
256
+
257
+
258
+
259
+ <span class="summary_desc"><div class='inline'>
260
+ <p>Returns the value of attribute published_on.</p>
261
+ </div></span>
262
+
263
+ </li>
264
+
265
+
266
+ <li class="public ">
267
+ <span class="summary_signature">
268
+
269
+ <a href="#signature-instance_method" title="#signature (instance method)">- (Object) <strong>signature</strong> </a>
270
+
271
+
272
+
273
+ </span>
274
+
275
+
276
+
277
+
278
+
279
+
280
+
281
+
282
+
283
+
284
+
285
+ <span class="summary_desc"><div class='inline'>
286
+ <p>Returns the value of attribute signature.</p>
287
+ </div></span>
288
+
289
+ </li>
290
+
291
+
292
+ <li class="public ">
293
+ <span class="summary_signature">
294
+
295
+ <a href="#title-instance_method" title="#title (instance method)">- (Object) <strong>title</strong> </a>
296
+
297
+
298
+
299
+ </span>
300
+
301
+
302
+
303
+
304
+
305
+
306
+
307
+
308
+
309
+
310
+
311
+ <span class="summary_desc"><div class='inline'>
312
+ <p>Returns the value of attribute title.</p>
313
+ </div></span>
314
+
315
+ </li>
316
+
317
+
318
+ <li class="public ">
319
+ <span class="summary_signature">
320
+
321
+ <a href="#visible-instance_method" title="#visible (instance method)">- (Object) <strong>visible</strong> </a>
322
+
323
+
324
+
325
+ </span>
326
+
327
+
328
+
329
+
330
+
331
+
332
+
333
+
334
+
335
+
336
+
337
+ <span class="summary_desc"><div class='inline'>
338
+ <p>Returns the value of attribute visible.</p>
339
+ </div></span>
340
+
341
+ </li>
342
+
343
+
344
+ </ul>
345
+
346
+
347
+
348
+
349
+
350
+ <h2>
351
+ Class Method Summary
352
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
353
+ </h2>
354
+
355
+ <ul class="summary">
356
+
357
+ <li class="public ">
358
+ <span class="summary_signature">
359
+
360
+ <a href="#create-class_method" title="create (class method)">+ (Object) <strong>create</strong>(attributes = {}) </a>
361
+
362
+
363
+
364
+ </span>
365
+
366
+
367
+
368
+
369
+
370
+
371
+
372
+
373
+ <span class="summary_desc"><div class='inline'></div></span>
374
+
375
+ </li>
376
+
377
+
378
+ <li class="public ">
379
+ <span class="summary_signature">
380
+
381
+ <a href="#find-class_method" title="find (class method)">+ (Object) <strong>find</strong>(id) </a>
382
+
383
+
384
+
385
+ </span>
386
+
387
+
388
+
389
+
390
+
391
+
392
+
393
+
394
+ <span class="summary_desc"><div class='inline'></div></span>
395
+
396
+ </li>
397
+
398
+
399
+ </ul>
400
+
401
+ <h2>
402
+ Instance Method Summary
403
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
404
+ </h2>
405
+
406
+ <ul class="summary">
407
+
408
+ <li class="public ">
409
+ <span class="summary_signature">
410
+
411
+ <a href="#id-instance_method" title="#id (instance method)">- (Object) <strong>id</strong> </a>
412
+
413
+
414
+
415
+ </span>
416
+
417
+
418
+
419
+
420
+
421
+
422
+
423
+
424
+ <span class="summary_desc"><div class='inline'></div></span>
425
+
426
+ </li>
427
+
428
+
429
+ <li class="public ">
430
+ <span class="summary_signature">
431
+
432
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (Post) <strong>initialize</strong>(attributes = {}) </a>
433
+
434
+
435
+
436
+ </span>
437
+
438
+ <span class="note title constructor">constructor</span>
439
+
440
+
441
+
442
+
443
+
444
+
445
+
446
+
447
+ <span class="summary_desc"><div class='inline'>
448
+ <p>A new instance of Post.</p>
449
+ </div></span>
450
+
451
+ </li>
452
+
453
+
454
+ <li class="public ">
455
+ <span class="summary_signature">
456
+
457
+ <a href="#save%21-instance_method" title="#save! (instance method)">- (Object) <strong>save!</strong> </a>
458
+
459
+
460
+
461
+ </span>
462
+
463
+
464
+
465
+
466
+
467
+
468
+
469
+
470
+ <span class="summary_desc"><div class='inline'></div></span>
471
+
472
+ </li>
473
+
474
+
475
+ </ul>
476
+
477
+
478
+
479
+
480
+ <div id="constructor_details" class="method_details_list">
481
+ <h2>Constructor Details</h2>
482
+
483
+ <div class="method_details first">
484
+ <p class="signature first" id="initialize-instance_method">
485
+
486
+ - (<tt><span class='object_link'><a href="" title="ElabsMatchers::Orm::Post (class)">Post</a></span></tt>) <strong>initialize</strong>(attributes = {})
487
+
488
+
489
+
490
+ </p><div class="docstring">
491
+ <div class="discussion">
492
+
493
+ <p>A new instance of Post</p>
494
+
495
+
496
+ </div>
497
+ </div>
498
+ <div class="tags">
499
+
500
+
501
+ </div><table class="source_code">
502
+ <tr>
503
+ <td>
504
+ <pre class="lines">
505
+
506
+
507
+ 29
508
+ 30
509
+ 31
510
+ 32
511
+ 33</pre>
512
+ </td>
513
+ <td>
514
+ <pre class="code"><span class="info file"># File 'lib/elabs_matchers/orm/post.rb', line 29</span>
515
+
516
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_attributes'>attributes</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
517
+ <span class='id identifier rubyid_attributes'>attributes</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_value'>value</span><span class='op'>|</span>
518
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='symbol'>:#{</span><span class='id identifier rubyid_name'>name</span><span class='rbrace'>}</span><span class='tstring_content'>=</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
519
+ <span class='kw'>end</span>
520
+ <span class='kw'>end</span></pre>
521
+ </td>
522
+ </tr>
523
+ </table>
524
+ </div>
525
+
526
+ </div>
527
+
528
+ <div id="instance_attr_details" class="attr_details">
529
+ <h2>Instance Attribute Details</h2>
530
+
531
+
532
+ <span id="authors=-instance_method"></span>
533
+ <span id="authors-instance_method"></span>
534
+ <div class="method_details first">
535
+ <p class="signature first" id="authors-instance_method">
536
+
537
+ - (<tt>Object</tt>) <strong>authors</strong>
538
+
539
+
540
+
541
+ </p><div class="docstring">
542
+ <div class="discussion">
543
+
544
+ <p>Returns the value of attribute authors</p>
545
+
546
+
547
+ </div>
548
+ </div>
549
+ <div class="tags">
550
+
551
+
552
+ </div><table class="source_code">
553
+ <tr>
554
+ <td>
555
+ <pre class="lines">
556
+
557
+
558
+ 9
559
+ 10
560
+ 11</pre>
561
+ </td>
562
+ <td>
563
+ <pre class="code"><span class="info file"># File 'lib/elabs_matchers/orm/post.rb', line 9</span>
564
+
565
+ <span class='kw'>def</span> <span class='id identifier rubyid_authors'>authors</span>
566
+ <span class='ivar'>@authors</span>
567
+ <span class='kw'>end</span></pre>
568
+ </td>
569
+ </tr>
570
+ </table>
571
+ </div>
572
+
573
+
574
+ <span id="body=-instance_method"></span>
575
+ <span id="body-instance_method"></span>
576
+ <div class="method_details ">
577
+ <p class="signature " id="body-instance_method">
578
+
579
+ - (<tt>Object</tt>) <strong>body</strong>
580
+
581
+
582
+
583
+ </p><div class="docstring">
584
+ <div class="discussion">
585
+
586
+ <p>Returns the value of attribute body</p>
587
+
588
+
589
+ </div>
590
+ </div>
591
+ <div class="tags">
592
+
593
+
594
+ </div><table class="source_code">
595
+ <tr>
596
+ <td>
597
+ <pre class="lines">
598
+
599
+
600
+ 9
601
+ 10
602
+ 11</pre>
603
+ </td>
604
+ <td>
605
+ <pre class="code"><span class="info file"># File 'lib/elabs_matchers/orm/post.rb', line 9</span>
606
+
607
+ <span class='kw'>def</span> <span class='id identifier rubyid_body'>body</span>
608
+ <span class='ivar'>@body</span>
609
+ <span class='kw'>end</span></pre>
610
+ </td>
611
+ </tr>
612
+ </table>
613
+ </div>
614
+
615
+
616
+ <span id="category=-instance_method"></span>
617
+ <span id="category-instance_method"></span>
618
+ <div class="method_details ">
619
+ <p class="signature " id="category-instance_method">
620
+
621
+ - (<tt>Object</tt>) <strong>category</strong>
622
+
623
+
624
+
625
+ </p><div class="docstring">
626
+ <div class="discussion">
627
+
628
+ <p>Returns the value of attribute category</p>
629
+
630
+
631
+ </div>
632
+ </div>
633
+ <div class="tags">
634
+
635
+
636
+ </div><table class="source_code">
637
+ <tr>
638
+ <td>
639
+ <pre class="lines">
640
+
641
+
642
+ 9
643
+ 10
644
+ 11</pre>
645
+ </td>
646
+ <td>
647
+ <pre class="code"><span class="info file"># File 'lib/elabs_matchers/orm/post.rb', line 9</span>
648
+
649
+ <span class='kw'>def</span> <span class='id identifier rubyid_category'>category</span>
650
+ <span class='ivar'>@category</span>
651
+ <span class='kw'>end</span></pre>
652
+ </td>
653
+ </tr>
654
+ </table>
655
+ </div>
656
+
657
+
658
+ <span id="co_author=-instance_method"></span>
659
+ <span id="co_author-instance_method"></span>
660
+ <div class="method_details ">
661
+ <p class="signature " id="co_author-instance_method">
662
+
663
+ - (<tt>Object</tt>) <strong>co_author</strong>
664
+
665
+
666
+
667
+ </p><div class="docstring">
668
+ <div class="discussion">
669
+
670
+ <p>Returns the value of attribute co_author</p>
671
+
672
+
673
+ </div>
674
+ </div>
675
+ <div class="tags">
676
+
677
+
678
+ </div><table class="source_code">
679
+ <tr>
680
+ <td>
681
+ <pre class="lines">
682
+
683
+
684
+ 9
685
+ 10
686
+ 11</pre>
687
+ </td>
688
+ <td>
689
+ <pre class="code"><span class="info file"># File 'lib/elabs_matchers/orm/post.rb', line 9</span>
690
+
691
+ <span class='kw'>def</span> <span class='id identifier rubyid_co_author'>co_author</span>
692
+ <span class='ivar'>@co_author</span>
693
+ <span class='kw'>end</span></pre>
694
+ </td>
695
+ </tr>
696
+ </table>
697
+ </div>
698
+
699
+
700
+ <span id="price=-instance_method"></span>
701
+ <span id="price-instance_method"></span>
702
+ <div class="method_details ">
703
+ <p class="signature " id="price-instance_method">
704
+
705
+ - (<tt>Object</tt>) <strong>price</strong>
706
+
707
+
708
+
709
+ </p><div class="docstring">
710
+ <div class="discussion">
711
+
712
+ <p>Returns the value of attribute price</p>
713
+
714
+
715
+ </div>
716
+ </div>
717
+ <div class="tags">
718
+
719
+
720
+ </div><table class="source_code">
721
+ <tr>
722
+ <td>
723
+ <pre class="lines">
724
+
725
+
726
+ 9
727
+ 10
728
+ 11</pre>
729
+ </td>
730
+ <td>
731
+ <pre class="code"><span class="info file"># File 'lib/elabs_matchers/orm/post.rb', line 9</span>
732
+
733
+ <span class='kw'>def</span> <span class='id identifier rubyid_price'>price</span>
734
+ <span class='ivar'>@price</span>
735
+ <span class='kw'>end</span></pre>
736
+ </td>
737
+ </tr>
738
+ </table>
739
+ </div>
740
+
741
+
742
+ <span id="published_on=-instance_method"></span>
743
+ <span id="published_on-instance_method"></span>
744
+ <div class="method_details ">
745
+ <p class="signature " id="published_on-instance_method">
746
+
747
+ - (<tt>Object</tt>) <strong>published_on</strong>
748
+
749
+
750
+
751
+ </p><div class="docstring">
752
+ <div class="discussion">
753
+
754
+ <p>Returns the value of attribute published_on</p>
755
+
756
+
757
+ </div>
758
+ </div>
759
+ <div class="tags">
760
+
761
+
762
+ </div><table class="source_code">
763
+ <tr>
764
+ <td>
765
+ <pre class="lines">
766
+
767
+
768
+ 9
769
+ 10
770
+ 11</pre>
771
+ </td>
772
+ <td>
773
+ <pre class="code"><span class="info file"># File 'lib/elabs_matchers/orm/post.rb', line 9</span>
774
+
775
+ <span class='kw'>def</span> <span class='id identifier rubyid_published_on'>published_on</span>
776
+ <span class='ivar'>@published_on</span>
777
+ <span class='kw'>end</span></pre>
778
+ </td>
779
+ </tr>
780
+ </table>
781
+ </div>
782
+
783
+
784
+ <span id="signature=-instance_method"></span>
785
+ <span id="signature-instance_method"></span>
786
+ <div class="method_details ">
787
+ <p class="signature " id="signature-instance_method">
788
+
789
+ - (<tt>Object</tt>) <strong>signature</strong>
790
+
791
+
792
+
793
+ </p><div class="docstring">
794
+ <div class="discussion">
795
+
796
+ <p>Returns the value of attribute signature</p>
797
+
798
+
799
+ </div>
800
+ </div>
801
+ <div class="tags">
802
+
803
+
804
+ </div><table class="source_code">
805
+ <tr>
806
+ <td>
807
+ <pre class="lines">
808
+
809
+
810
+ 9
811
+ 10
812
+ 11</pre>
813
+ </td>
814
+ <td>
815
+ <pre class="code"><span class="info file"># File 'lib/elabs_matchers/orm/post.rb', line 9</span>
816
+
817
+ <span class='kw'>def</span> <span class='id identifier rubyid_signature'>signature</span>
818
+ <span class='ivar'>@signature</span>
819
+ <span class='kw'>end</span></pre>
820
+ </td>
821
+ </tr>
822
+ </table>
823
+ </div>
824
+
825
+
826
+ <span id="title=-instance_method"></span>
827
+ <span id="title-instance_method"></span>
828
+ <div class="method_details ">
829
+ <p class="signature " id="title-instance_method">
830
+
831
+ - (<tt>Object</tt>) <strong>title</strong>
832
+
833
+
834
+
835
+ </p><div class="docstring">
836
+ <div class="discussion">
837
+
838
+ <p>Returns the value of attribute title</p>
839
+
840
+
841
+ </div>
842
+ </div>
843
+ <div class="tags">
844
+
845
+
846
+ </div><table class="source_code">
847
+ <tr>
848
+ <td>
849
+ <pre class="lines">
850
+
851
+
852
+ 9
853
+ 10
854
+ 11</pre>
855
+ </td>
856
+ <td>
857
+ <pre class="code"><span class="info file"># File 'lib/elabs_matchers/orm/post.rb', line 9</span>
858
+
859
+ <span class='kw'>def</span> <span class='id identifier rubyid_title'>title</span>
860
+ <span class='ivar'>@title</span>
861
+ <span class='kw'>end</span></pre>
862
+ </td>
863
+ </tr>
864
+ </table>
865
+ </div>
866
+
867
+
868
+ <span id="visible=-instance_method"></span>
869
+ <span id="visible-instance_method"></span>
870
+ <div class="method_details ">
871
+ <p class="signature " id="visible-instance_method">
872
+
873
+ - (<tt>Object</tt>) <strong>visible</strong>
874
+
875
+
876
+
877
+ </p><div class="docstring">
878
+ <div class="discussion">
879
+
880
+ <p>Returns the value of attribute visible</p>
881
+
882
+
883
+ </div>
884
+ </div>
885
+ <div class="tags">
886
+
887
+
888
+ </div><table class="source_code">
889
+ <tr>
890
+ <td>
891
+ <pre class="lines">
892
+
893
+
894
+ 9
895
+ 10
896
+ 11</pre>
897
+ </td>
898
+ <td>
899
+ <pre class="code"><span class="info file"># File 'lib/elabs_matchers/orm/post.rb', line 9</span>
900
+
901
+ <span class='kw'>def</span> <span class='id identifier rubyid_visible'>visible</span>
902
+ <span class='ivar'>@visible</span>
903
+ <span class='kw'>end</span></pre>
904
+ </td>
905
+ </tr>
906
+ </table>
907
+ </div>
908
+
909
+ </div>
910
+
911
+
912
+ <div id="class_method_details" class="method_details_list">
913
+ <h2>Class Method Details</h2>
914
+
915
+
916
+ <div class="method_details first">
917
+ <p class="signature first" id="create-class_method">
918
+
919
+ + (<tt>Object</tt>) <strong>create</strong>(attributes = {})
920
+
921
+
922
+
923
+ </p><table class="source_code">
924
+ <tr>
925
+ <td>
926
+ <pre class="lines">
927
+
928
+
929
+ 24
930
+ 25
931
+ 26</pre>
932
+ </td>
933
+ <td>
934
+ <pre class="code"><span class="info file"># File 'lib/elabs_matchers/orm/post.rb', line 24</span>
935
+
936
+ <span class='kw'>def</span> <span class='id identifier rubyid_create'>create</span><span class='lparen'>(</span><span class='id identifier rubyid_attributes'>attributes</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
937
+ <span class='cvar'>@@persisted_post</span> <span class='op'>=</span> <span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_attributes'>attributes</span><span class='rparen'>)</span>
938
+ <span class='kw'>end</span></pre>
939
+ </td>
940
+ </tr>
941
+ </table>
942
+ </div>
943
+
944
+ <div class="method_details ">
945
+ <p class="signature " id="find-class_method">
946
+
947
+ + (<tt>Object</tt>) <strong>find</strong>(id)
948
+
949
+
950
+
951
+ </p><table class="source_code">
952
+ <tr>
953
+ <td>
954
+ <pre class="lines">
955
+
956
+
957
+ 20
958
+ 21
959
+ 22</pre>
960
+ </td>
961
+ <td>
962
+ <pre class="code"><span class="info file"># File 'lib/elabs_matchers/orm/post.rb', line 20</span>
963
+
964
+ <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id'>id</span><span class='rparen'>)</span>
965
+ <span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='symbol'>:title</span> <span class='op'>=&gt;</span> <span class='cvar'>@@persisted_post</span><span class='period'>.</span><span class='id identifier rubyid_title'>title</span><span class='rparen'>)</span>
966
+ <span class='kw'>end</span></pre>
967
+ </td>
968
+ </tr>
969
+ </table>
970
+ </div>
971
+
972
+ </div>
973
+
974
+ <div id="instance_method_details" class="method_details_list">
975
+ <h2>Instance Method Details</h2>
976
+
977
+
978
+ <div class="method_details first">
979
+ <p class="signature first" id="id-instance_method">
980
+
981
+ - (<tt>Object</tt>) <strong>id</strong>
982
+
983
+
984
+
985
+ </p><table class="source_code">
986
+ <tr>
987
+ <td>
988
+ <pre class="lines">
989
+
990
+
991
+ 38
992
+ 39</pre>
993
+ </td>
994
+ <td>
995
+ <pre class="code"><span class="info file"># File 'lib/elabs_matchers/orm/post.rb', line 38</span>
996
+
997
+ <span class='kw'>def</span> <span class='id identifier rubyid_id'>id</span>
998
+ <span class='kw'>end</span></pre>
999
+ </td>
1000
+ </tr>
1001
+ </table>
1002
+ </div>
1003
+
1004
+ <div class="method_details ">
1005
+ <p class="signature " id="save!-instance_method">
1006
+
1007
+ - (<tt>Object</tt>) <strong>save!</strong>
1008
+
1009
+
1010
+
1011
+ </p><table class="source_code">
1012
+ <tr>
1013
+ <td>
1014
+ <pre class="lines">
1015
+
1016
+
1017
+ 35
1018
+ 36</pre>
1019
+ </td>
1020
+ <td>
1021
+ <pre class="code"><span class="info file"># File 'lib/elabs_matchers/orm/post.rb', line 35</span>
1022
+
1023
+ <span class='kw'>def</span> <span class='id identifier rubyid_save!'>save!</span>
1024
+ <span class='kw'>end</span></pre>
1025
+ </td>
1026
+ </tr>
1027
+ </table>
1028
+ </div>
1029
+
1030
+ </div>
1031
+
1032
+ </div>
1033
+
1034
+ <div id="footer">
1035
+ Generated on Fri Feb 17 16:29:16 2012 by
1036
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1037
+ 0.7.5 (ruby-1.9.3).
1038
+ </div>
1039
+
1040
+ </body>
1041
+ </html>