primer 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. data/History.txt +17 -0
  2. data/README.rdoc +74 -35
  3. data/example/README.rdoc +33 -23
  4. data/example/application.rb +2 -2
  5. data/example/console.rb +133 -0
  6. data/example/db/blog.sqlite3 +0 -0
  7. data/example/{models → db}/connection.rb +0 -0
  8. data/example/environment.rb +17 -4
  9. data/example/models/comment.rb +5 -0
  10. data/example/models/post.rb +5 -0
  11. data/example/script/setup_database.rb +8 -2
  12. data/example/views/comments.erb +6 -0
  13. data/example/views/layout.erb +1 -1
  14. data/example/views/show.erb +5 -1
  15. data/lib/primer/bus/amqp.rb +7 -5
  16. data/lib/primer/bus/amqp.rbc +1045 -0
  17. data/lib/primer/bus/memory.rbc +344 -0
  18. data/lib/primer/bus.rb +3 -2
  19. data/lib/primer/bus.rbc +872 -0
  20. data/lib/primer/cache/memory.rbc +1443 -0
  21. data/lib/primer/cache/redis.rb +2 -2
  22. data/lib/primer/cache/redis.rbc +1643 -0
  23. data/lib/primer/cache.rb +2 -16
  24. data/lib/primer/cache.rbc +1502 -0
  25. data/lib/primer/enabler.rbc +414 -0
  26. data/lib/primer/helpers.rbc +1438 -0
  27. data/lib/primer/lazyness.rb +63 -0
  28. data/lib/primer/lazyness.rbc +1442 -0
  29. data/lib/primer/real_time.rbc +1999 -0
  30. data/lib/primer/route_set.rb +1 -0
  31. data/lib/primer/route_set.rbc +1475 -0
  32. data/lib/primer/watcher/active_record_macros.rb +13 -3
  33. data/lib/primer/watcher/active_record_macros.rbc +1796 -0
  34. data/lib/primer/watcher/macros.rb +11 -14
  35. data/lib/primer/watcher/macros.rbc +1628 -0
  36. data/lib/primer/watcher.rb +2 -7
  37. data/lib/primer/watcher.rbc +1416 -0
  38. data/lib/primer/worker/active_record_agent.rb +30 -33
  39. data/lib/primer/worker/active_record_agent.rbc +2840 -0
  40. data/lib/primer/worker/changes_agent.rb +20 -0
  41. data/lib/primer/worker/changes_agent.rbc +578 -0
  42. data/lib/primer/worker.rb +20 -3
  43. data/lib/primer/worker.rbc +1254 -0
  44. data/lib/primer.rb +10 -2
  45. data/lib/primer.rbc +944 -0
  46. data/spec/db/test.sqlite3 +0 -0
  47. data/spec/models/artist.rb +3 -2
  48. data/spec/models/artist.rbc +288 -0
  49. data/spec/models/blog_post.rb +3 -1
  50. data/spec/models/blog_post.rbc +181 -0
  51. data/spec/models/calendar.rbc +209 -0
  52. data/spec/models/concert.rbc +211 -0
  53. data/spec/models/performance.rbc +177 -0
  54. data/spec/models/person.rb +1 -0
  55. data/spec/models/person.rbc +306 -0
  56. data/spec/models/watchable.rbc +363 -0
  57. data/spec/primer/bus_spec.rbc +940 -0
  58. data/spec/primer/cache_spec.rb +3 -3
  59. data/spec/primer/cache_spec.rbc +8535 -0
  60. data/spec/primer/helpers/erb_spec.rb +14 -14
  61. data/spec/primer/helpers/erb_spec.rbc +2485 -0
  62. data/spec/primer/lazyness_spec.rb +61 -0
  63. data/spec/primer/lazyness_spec.rbc +1408 -0
  64. data/spec/primer/watcher/active_record_spec.rb +15 -15
  65. data/spec/primer/watcher/active_record_spec.rbc +5202 -0
  66. data/spec/primer/watcher_spec.rbc +2645 -0
  67. data/spec/schema.rbc +775 -0
  68. data/spec/spec_helper.rb +3 -0
  69. data/spec/spec_helper.rbc +1193 -0
  70. data/spec/templates/page.erb +0 -1
  71. metadata +77 -70
  72. data/example/models/blog_post.rb +0 -4
@@ -0,0 +1,2485 @@
1
+ !RBIX
2
+ 10310238139619683799
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 97
13
+ 5
14
+ 7
15
+ 0
16
+ 64
17
+ 47
18
+ 49
19
+ 1
20
+ 1
21
+ 15
22
+ 99
23
+ 7
24
+ 2
25
+ 65
26
+ 49
27
+ 3
28
+ 2
29
+ 13
30
+ 99
31
+ 12
32
+ 7
33
+ 4
34
+ 12
35
+ 7
36
+ 5
37
+ 12
38
+ 65
39
+ 12
40
+ 49
41
+ 6
42
+ 4
43
+ 15
44
+ 49
45
+ 4
46
+ 0
47
+ 15
48
+ 99
49
+ 7
50
+ 7
51
+ 1
52
+ 65
53
+ 49
54
+ 8
55
+ 3
56
+ 13
57
+ 99
58
+ 12
59
+ 7
60
+ 9
61
+ 12
62
+ 7
63
+ 10
64
+ 12
65
+ 65
66
+ 12
67
+ 49
68
+ 6
69
+ 4
70
+ 15
71
+ 49
72
+ 9
73
+ 0
74
+ 15
75
+ 5
76
+ 7
77
+ 11
78
+ 64
79
+ 56
80
+ 12
81
+ 47
82
+ 50
83
+ 13
84
+ 1
85
+ 15
86
+ 5
87
+ 7
88
+ 14
89
+ 64
90
+ 56
91
+ 15
92
+ 47
93
+ 50
94
+ 16
95
+ 1
96
+ 15
97
+ 5
98
+ 7
99
+ 17
100
+ 64
101
+ 56
102
+ 18
103
+ 47
104
+ 50
105
+ 16
106
+ 1
107
+ 15
108
+ 2
109
+ 11
110
+ I
111
+ 6
112
+ I
113
+ 0
114
+ I
115
+ 0
116
+ I
117
+ 0
118
+ n
119
+ p
120
+ 19
121
+ s
122
+ 11
123
+ spec_helper
124
+ x
125
+ 7
126
+ require
127
+ x
128
+ 15
129
+ RenderingHelper
130
+ x
131
+ 11
132
+ open_module
133
+ x
134
+ 15
135
+ __module_init__
136
+ M
137
+ 1
138
+ n
139
+ n
140
+ x
141
+ 15
142
+ RenderingHelper
143
+ i
144
+ 23
145
+ 5
146
+ 66
147
+ 5
148
+ 45
149
+ 0
150
+ 1
151
+ 43
152
+ 2
153
+ 43
154
+ 3
155
+ 47
156
+ 49
157
+ 4
158
+ 1
159
+ 15
160
+ 5
161
+ 7
162
+ 5
163
+ 47
164
+ 49
165
+ 6
166
+ 1
167
+ 11
168
+ I
169
+ 2
170
+ I
171
+ 0
172
+ I
173
+ 0
174
+ I
175
+ 0
176
+ n
177
+ p
178
+ 7
179
+ x
180
+ 6
181
+ Primer
182
+ n
183
+ x
184
+ 7
185
+ Helpers
186
+ x
187
+ 3
188
+ ERB
189
+ x
190
+ 7
191
+ include
192
+ x
193
+ 4
194
+ name
195
+ x
196
+ 13
197
+ attr_accessor
198
+ p
199
+ 5
200
+ I
201
+ 2
202
+ I
203
+ 4
204
+ I
205
+ f
206
+ I
207
+ 5
208
+ I
209
+ 17
210
+ x
211
+ 62
212
+ /Users/jcoglan/projects/primer/spec/primer/helpers/erb_spec.rb
213
+ p
214
+ 0
215
+ x
216
+ 13
217
+ attach_method
218
+ x
219
+ 7
220
+ Context
221
+ x
222
+ 10
223
+ open_class
224
+ x
225
+ 14
226
+ __class_init__
227
+ M
228
+ 1
229
+ n
230
+ n
231
+ x
232
+ 7
233
+ Context
234
+ i
235
+ 11
236
+ 5
237
+ 66
238
+ 5
239
+ 45
240
+ 0
241
+ 1
242
+ 47
243
+ 49
244
+ 2
245
+ 1
246
+ 11
247
+ I
248
+ 2
249
+ I
250
+ 0
251
+ I
252
+ 0
253
+ I
254
+ 0
255
+ n
256
+ p
257
+ 3
258
+ x
259
+ 15
260
+ RenderingHelper
261
+ n
262
+ x
263
+ 7
264
+ include
265
+ p
266
+ 3
267
+ I
268
+ 2
269
+ I
270
+ 9
271
+ I
272
+ b
273
+ x
274
+ 62
275
+ /Users/jcoglan/projects/primer/spec/primer/helpers/erb_spec.rb
276
+ p
277
+ 0
278
+ s
279
+ 10
280
+ erb helper
281
+ M
282
+ 1
283
+ p
284
+ 2
285
+ x
286
+ 9
287
+ for_block
288
+ t
289
+ n
290
+ x
291
+ 9
292
+ __block__
293
+ i
294
+ 27
295
+ 5
296
+ 56
297
+ 0
298
+ 47
299
+ 50
300
+ 1
301
+ 0
302
+ 15
303
+ 5
304
+ 56
305
+ 2
306
+ 47
307
+ 50
308
+ 1
309
+ 0
310
+ 15
311
+ 5
312
+ 7
313
+ 3
314
+ 64
315
+ 56
316
+ 4
317
+ 47
318
+ 50
319
+ 5
320
+ 1
321
+ 11
322
+ I
323
+ 4
324
+ I
325
+ 0
326
+ I
327
+ 0
328
+ I
329
+ 0
330
+ I
331
+ -2
332
+ p
333
+ 6
334
+ M
335
+ 1
336
+ p
337
+ 2
338
+ x
339
+ 9
340
+ for_block
341
+ t
342
+ n
343
+ x
344
+ 9
345
+ __block__
346
+ i
347
+ 14
348
+ 5
349
+ 48
350
+ 0
351
+ 7
352
+ 1
353
+ 64
354
+ 13
355
+ 18
356
+ 2
357
+ 49
358
+ 2
359
+ 1
360
+ 15
361
+ 11
362
+ I
363
+ 4
364
+ I
365
+ 0
366
+ I
367
+ 0
368
+ I
369
+ 0
370
+ I
371
+ -2
372
+ p
373
+ 3
374
+ x
375
+ 7
376
+ context
377
+ s
378
+ 5
379
+ Aaron
380
+ x
381
+ 5
382
+ name=
383
+ p
384
+ 3
385
+ I
386
+ 0
387
+ I
388
+ d
389
+ I
390
+ e
391
+ x
392
+ 62
393
+ /Users/jcoglan/projects/primer/spec/primer/helpers/erb_spec.rb
394
+ p
395
+ 0
396
+ x
397
+ 6
398
+ before
399
+ M
400
+ 1
401
+ p
402
+ 2
403
+ x
404
+ 9
405
+ for_block
406
+ t
407
+ n
408
+ x
409
+ 9
410
+ __block__
411
+ i
412
+ 63
413
+ 45
414
+ 0
415
+ 1
416
+ 45
417
+ 0
418
+ 2
419
+ 43
420
+ 3
421
+ 43
422
+ 4
423
+ 13
424
+ 71
425
+ 5
426
+ 47
427
+ 9
428
+ 28
429
+ 47
430
+ 49
431
+ 6
432
+ 0
433
+ 13
434
+ 47
435
+ 49
436
+ 7
437
+ 0
438
+ 15
439
+ 8
440
+ 31
441
+ 49
442
+ 5
443
+ 0
444
+ 13
445
+ 18
446
+ 2
447
+ 49
448
+ 8
449
+ 1
450
+ 15
451
+ 15
452
+ 45
453
+ 0
454
+ 9
455
+ 49
456
+ 10
457
+ 0
458
+ 45
459
+ 0
460
+ 11
461
+ 43
462
+ 12
463
+ 56
464
+ 13
465
+ 50
466
+ 5
467
+ 0
468
+ 13
469
+ 18
470
+ 2
471
+ 49
472
+ 14
473
+ 1
474
+ 15
475
+ 11
476
+ I
477
+ 4
478
+ I
479
+ 0
480
+ I
481
+ 0
482
+ I
483
+ 0
484
+ I
485
+ -2
486
+ p
487
+ 15
488
+ x
489
+ 6
490
+ Primer
491
+ n
492
+ n
493
+ x
494
+ 5
495
+ Cache
496
+ x
497
+ 6
498
+ Memory
499
+ x
500
+ 3
501
+ new
502
+ x
503
+ 8
504
+ allocate
505
+ x
506
+ 10
507
+ initialize
508
+ x
509
+ 6
510
+ cache=
511
+ n
512
+ x
513
+ 5
514
+ cache
515
+ n
516
+ x
517
+ 8
518
+ RouteSet
519
+ M
520
+ 1
521
+ p
522
+ 2
523
+ x
524
+ 9
525
+ for_block
526
+ t
527
+ n
528
+ x
529
+ 9
530
+ __block__
531
+ i
532
+ 11
533
+ 5
534
+ 7
535
+ 0
536
+ 64
537
+ 56
538
+ 1
539
+ 47
540
+ 50
541
+ 2
542
+ 1
543
+ 11
544
+ I
545
+ 4
546
+ I
547
+ 0
548
+ I
549
+ 0
550
+ I
551
+ 0
552
+ I
553
+ -2
554
+ p
555
+ 3
556
+ s
557
+ 5
558
+ /user
559
+ M
560
+ 1
561
+ p
562
+ 2
563
+ x
564
+ 9
565
+ for_block
566
+ t
567
+ n
568
+ x
569
+ 9
570
+ __block__
571
+ i
572
+ 4
573
+ 7
574
+ 0
575
+ 64
576
+ 11
577
+ I
578
+ 2
579
+ I
580
+ 0
581
+ I
582
+ 0
583
+ I
584
+ 0
585
+ I
586
+ -2
587
+ p
588
+ 1
589
+ s
590
+ 6
591
+ Master
592
+ p
593
+ 3
594
+ I
595
+ 0
596
+ I
597
+ 12
598
+ I
599
+ 4
600
+ x
601
+ 62
602
+ /Users/jcoglan/projects/primer/spec/primer/helpers/erb_spec.rb
603
+ p
604
+ 0
605
+ x
606
+ 3
607
+ get
608
+ p
609
+ 3
610
+ I
611
+ 0
612
+ I
613
+ 12
614
+ I
615
+ b
616
+ x
617
+ 62
618
+ /Users/jcoglan/projects/primer/spec/primer/helpers/erb_spec.rb
619
+ p
620
+ 0
621
+ x
622
+ 7
623
+ routes=
624
+ p
625
+ 5
626
+ I
627
+ 0
628
+ I
629
+ 10
630
+ I
631
+ 27
632
+ I
633
+ 11
634
+ I
635
+ 3f
636
+ x
637
+ 62
638
+ /Users/jcoglan/projects/primer/spec/primer/helpers/erb_spec.rb
639
+ p
640
+ 0
641
+ s
642
+ 7
643
+ #primer
644
+ M
645
+ 1
646
+ p
647
+ 2
648
+ x
649
+ 9
650
+ for_block
651
+ t
652
+ n
653
+ x
654
+ 9
655
+ __block__
656
+ i
657
+ 22
658
+ 5
659
+ 7
660
+ 0
661
+ 64
662
+ 56
663
+ 1
664
+ 47
665
+ 50
666
+ 2
667
+ 1
668
+ 15
669
+ 5
670
+ 7
671
+ 3
672
+ 64
673
+ 56
674
+ 4
675
+ 47
676
+ 50
677
+ 2
678
+ 1
679
+ 11
680
+ I
681
+ 4
682
+ I
683
+ 0
684
+ I
685
+ 0
686
+ I
687
+ 0
688
+ I
689
+ -2
690
+ p
691
+ 5
692
+ s
693
+ 19
694
+ with an empty cache
695
+ M
696
+ 1
697
+ p
698
+ 2
699
+ x
700
+ 9
701
+ for_block
702
+ t
703
+ n
704
+ x
705
+ 9
706
+ __block__
707
+ i
708
+ 33
709
+ 5
710
+ 7
711
+ 0
712
+ 64
713
+ 56
714
+ 1
715
+ 47
716
+ 50
717
+ 2
718
+ 1
719
+ 15
720
+ 5
721
+ 7
722
+ 3
723
+ 64
724
+ 56
725
+ 4
726
+ 47
727
+ 50
728
+ 2
729
+ 1
730
+ 15
731
+ 5
732
+ 7
733
+ 5
734
+ 64
735
+ 56
736
+ 6
737
+ 47
738
+ 50
739
+ 2
740
+ 1
741
+ 11
742
+ I
743
+ 4
744
+ I
745
+ 0
746
+ I
747
+ 0
748
+ I
749
+ 0
750
+ I
751
+ -2
752
+ p
753
+ 7
754
+ s
755
+ 33
756
+ renders the contents of the block
757
+ M
758
+ 1
759
+ p
760
+ 2
761
+ x
762
+ 9
763
+ for_block
764
+ t
765
+ n
766
+ x
767
+ 9
768
+ __block__
769
+ i
770
+ 12
771
+ 5
772
+ 48
773
+ 0
774
+ 49
775
+ 1
776
+ 0
777
+ 7
778
+ 2
779
+ 64
780
+ 83
781
+ 3
782
+ 11
783
+ I
784
+ 3
785
+ I
786
+ 0
787
+ I
788
+ 0
789
+ I
790
+ 0
791
+ I
792
+ -2
793
+ p
794
+ 4
795
+ x
796
+ 6
797
+ output
798
+ x
799
+ 6
800
+ should
801
+ s
802
+ 36
803
+ Welcome, Master
804
+ Hello, Aaron
805
+ Thanks
806
+
807
+ x
808
+ 2
809
+ ==
810
+ p
811
+ 3
812
+ I
813
+ 0
814
+ I
815
+ 19
816
+ I
817
+ c
818
+ x
819
+ 62
820
+ /Users/jcoglan/projects/primer/spec/primer/helpers/erb_spec.rb
821
+ p
822
+ 0
823
+ x
824
+ 2
825
+ it
826
+ s
827
+ 26
828
+ uses the model to get data
829
+ M
830
+ 1
831
+ p
832
+ 2
833
+ x
834
+ 9
835
+ for_block
836
+ t
837
+ n
838
+ x
839
+ 9
840
+ __block__
841
+ i
842
+ 27
843
+ 5
844
+ 48
845
+ 0
846
+ 7
847
+ 1
848
+ 49
849
+ 2
850
+ 1
851
+ 7
852
+ 3
853
+ 64
854
+ 49
855
+ 4
856
+ 1
857
+ 15
858
+ 5
859
+ 48
860
+ 5
861
+ 49
862
+ 6
863
+ 0
864
+ 7
865
+ 7
866
+ 64
867
+ 83
868
+ 8
869
+ 11
870
+ I
871
+ 3
872
+ I
873
+ 0
874
+ I
875
+ 0
876
+ I
877
+ 0
878
+ I
879
+ -2
880
+ p
881
+ 9
882
+ x
883
+ 7
884
+ context
885
+ x
886
+ 4
887
+ name
888
+ x
889
+ 14
890
+ should_receive
891
+ s
892
+ 3
893
+ Abe
894
+ x
895
+ 10
896
+ and_return
897
+ x
898
+ 6
899
+ output
900
+ x
901
+ 6
902
+ should
903
+ s
904
+ 34
905
+ Welcome, Master
906
+ Hello, Abe
907
+ Thanks
908
+
909
+ x
910
+ 2
911
+ ==
912
+ p
913
+ 5
914
+ I
915
+ 0
916
+ I
917
+ 1d
918
+ I
919
+ f
920
+ I
921
+ 1e
922
+ I
923
+ 1b
924
+ x
925
+ 62
926
+ /Users/jcoglan/projects/primer/spec/primer/helpers/erb_spec.rb
927
+ p
928
+ 0
929
+ s
930
+ 36
931
+ writes the block result to the cache
932
+ M
933
+ 1
934
+ p
935
+ 2
936
+ x
937
+ 9
938
+ for_block
939
+ t
940
+ n
941
+ x
942
+ 9
943
+ __block__
944
+ i
945
+ 46
946
+ 45
947
+ 0
948
+ 1
949
+ 49
950
+ 2
951
+ 0
952
+ 7
953
+ 3
954
+ 49
955
+ 4
956
+ 1
957
+ 7
958
+ 5
959
+ 64
960
+ 7
961
+ 6
962
+ 64
963
+ 49
964
+ 7
965
+ 2
966
+ 15
967
+ 45
968
+ 0
969
+ 8
970
+ 49
971
+ 2
972
+ 0
973
+ 7
974
+ 3
975
+ 49
976
+ 4
977
+ 1
978
+ 7
979
+ 9
980
+ 64
981
+ 7
982
+ 10
983
+ 64
984
+ 49
985
+ 7
986
+ 2
987
+ 15
988
+ 5
989
+ 48
990
+ 11
991
+ 11
992
+ I
993
+ 4
994
+ I
995
+ 0
996
+ I
997
+ 0
998
+ I
999
+ 0
1000
+ I
1001
+ -2
1002
+ p
1003
+ 12
1004
+ x
1005
+ 6
1006
+ Primer
1007
+ n
1008
+ x
1009
+ 5
1010
+ cache
1011
+ x
1012
+ 3
1013
+ put
1014
+ x
1015
+ 14
1016
+ should_receive
1017
+ s
1018
+ 5
1019
+ /user
1020
+ s
1021
+ 6
1022
+ Master
1023
+ x
1024
+ 4
1025
+ with
1026
+ n
1027
+ s
1028
+ 10
1029
+ /cache/key
1030
+ s
1031
+ 12
1032
+ Hello, Aaron
1033
+ x
1034
+ 6
1035
+ output
1036
+ p
1037
+ 7
1038
+ I
1039
+ 0
1040
+ I
1041
+ 22
1042
+ I
1043
+ 15
1044
+ I
1045
+ 23
1046
+ I
1047
+ 2a
1048
+ I
1049
+ 24
1050
+ I
1051
+ 2e
1052
+ x
1053
+ 62
1054
+ /Users/jcoglan/projects/primer/spec/primer/helpers/erb_spec.rb
1055
+ p
1056
+ 0
1057
+ p
1058
+ 7
1059
+ I
1060
+ 0
1061
+ I
1062
+ 18
1063
+ I
1064
+ b
1065
+ I
1066
+ 1c
1067
+ I
1068
+ 16
1069
+ I
1070
+ 21
1071
+ I
1072
+ 21
1073
+ x
1074
+ 62
1075
+ /Users/jcoglan/projects/primer/spec/primer/helpers/erb_spec.rb
1076
+ p
1077
+ 0
1078
+ x
1079
+ 8
1080
+ describe
1081
+ s
1082
+ 25
1083
+ with a value in the cache
1084
+ M
1085
+ 1
1086
+ p
1087
+ 2
1088
+ x
1089
+ 9
1090
+ for_block
1091
+ t
1092
+ n
1093
+ x
1094
+ 9
1095
+ __block__
1096
+ i
1097
+ 30
1098
+ 5
1099
+ 56
1100
+ 0
1101
+ 47
1102
+ 50
1103
+ 1
1104
+ 0
1105
+ 15
1106
+ 5
1107
+ 7
1108
+ 2
1109
+ 64
1110
+ 56
1111
+ 3
1112
+ 47
1113
+ 50
1114
+ 4
1115
+ 1
1116
+ 15
1117
+ 5
1118
+ 7
1119
+ 5
1120
+ 64
1121
+ 56
1122
+ 6
1123
+ 47
1124
+ 50
1125
+ 4
1126
+ 1
1127
+ 11
1128
+ I
1129
+ 4
1130
+ I
1131
+ 0
1132
+ I
1133
+ 0
1134
+ I
1135
+ 0
1136
+ I
1137
+ -2
1138
+ p
1139
+ 7
1140
+ M
1141
+ 1
1142
+ p
1143
+ 2
1144
+ x
1145
+ 9
1146
+ for_block
1147
+ t
1148
+ n
1149
+ x
1150
+ 9
1151
+ __block__
1152
+ i
1153
+ 16
1154
+ 45
1155
+ 0
1156
+ 1
1157
+ 49
1158
+ 2
1159
+ 0
1160
+ 7
1161
+ 3
1162
+ 64
1163
+ 7
1164
+ 4
1165
+ 64
1166
+ 49
1167
+ 5
1168
+ 2
1169
+ 11
1170
+ I
1171
+ 4
1172
+ I
1173
+ 0
1174
+ I
1175
+ 0
1176
+ I
1177
+ 0
1178
+ I
1179
+ -2
1180
+ p
1181
+ 6
1182
+ x
1183
+ 6
1184
+ Primer
1185
+ n
1186
+ x
1187
+ 5
1188
+ cache
1189
+ s
1190
+ 10
1191
+ /cache/key
1192
+ s
1193
+ 19
1194
+ Text from the cache
1195
+ x
1196
+ 3
1197
+ put
1198
+ p
1199
+ 3
1200
+ I
1201
+ 0
1202
+ I
1203
+ 29
1204
+ I
1205
+ 10
1206
+ x
1207
+ 62
1208
+ /Users/jcoglan/projects/primer/spec/primer/helpers/erb_spec.rb
1209
+ p
1210
+ 0
1211
+ x
1212
+ 6
1213
+ before
1214
+ s
1215
+ 34
1216
+ does not use the model to get data
1217
+ M
1218
+ 1
1219
+ p
1220
+ 2
1221
+ x
1222
+ 9
1223
+ for_block
1224
+ t
1225
+ n
1226
+ x
1227
+ 9
1228
+ __block__
1229
+ i
1230
+ 13
1231
+ 5
1232
+ 48
1233
+ 0
1234
+ 7
1235
+ 1
1236
+ 49
1237
+ 2
1238
+ 1
1239
+ 15
1240
+ 5
1241
+ 48
1242
+ 3
1243
+ 11
1244
+ I
1245
+ 3
1246
+ I
1247
+ 0
1248
+ I
1249
+ 0
1250
+ I
1251
+ 0
1252
+ I
1253
+ -2
1254
+ p
1255
+ 4
1256
+ x
1257
+ 7
1258
+ context
1259
+ x
1260
+ 4
1261
+ name
1262
+ x
1263
+ 18
1264
+ should_not_receive
1265
+ x
1266
+ 6
1267
+ output
1268
+ p
1269
+ 5
1270
+ I
1271
+ 0
1272
+ I
1273
+ 2c
1274
+ I
1275
+ 9
1276
+ I
1277
+ 2d
1278
+ I
1279
+ d
1280
+ x
1281
+ 62
1282
+ /Users/jcoglan/projects/primer/spec/primer/helpers/erb_spec.rb
1283
+ p
1284
+ 0
1285
+ x
1286
+ 2
1287
+ it
1288
+ s
1289
+ 42
1290
+ renders the cached value into the template
1291
+ M
1292
+ 1
1293
+ p
1294
+ 2
1295
+ x
1296
+ 9
1297
+ for_block
1298
+ t
1299
+ n
1300
+ x
1301
+ 9
1302
+ __block__
1303
+ i
1304
+ 12
1305
+ 5
1306
+ 48
1307
+ 0
1308
+ 49
1309
+ 1
1310
+ 0
1311
+ 7
1312
+ 2
1313
+ 64
1314
+ 83
1315
+ 3
1316
+ 11
1317
+ I
1318
+ 3
1319
+ I
1320
+ 0
1321
+ I
1322
+ 0
1323
+ I
1324
+ 0
1325
+ I
1326
+ -2
1327
+ p
1328
+ 4
1329
+ x
1330
+ 6
1331
+ output
1332
+ x
1333
+ 6
1334
+ should
1335
+ s
1336
+ 43
1337
+ Welcome, Master
1338
+ Text from the cache
1339
+ Thanks
1340
+
1341
+ x
1342
+ 2
1343
+ ==
1344
+ p
1345
+ 3
1346
+ I
1347
+ 0
1348
+ I
1349
+ 31
1350
+ I
1351
+ c
1352
+ x
1353
+ 62
1354
+ /Users/jcoglan/projects/primer/spec/primer/helpers/erb_spec.rb
1355
+ p
1356
+ 0
1357
+ p
1358
+ 7
1359
+ I
1360
+ 0
1361
+ I
1362
+ 29
1363
+ I
1364
+ 8
1365
+ I
1366
+ 2b
1367
+ I
1368
+ 13
1369
+ I
1370
+ 30
1371
+ I
1372
+ 1e
1373
+ x
1374
+ 62
1375
+ /Users/jcoglan/projects/primer/spec/primer/helpers/erb_spec.rb
1376
+ p
1377
+ 0
1378
+ p
1379
+ 5
1380
+ I
1381
+ 0
1382
+ I
1383
+ 17
1384
+ I
1385
+ b
1386
+ I
1387
+ 28
1388
+ I
1389
+ 16
1390
+ x
1391
+ 62
1392
+ /Users/jcoglan/projects/primer/spec/primer/helpers/erb_spec.rb
1393
+ p
1394
+ 0
1395
+ x
1396
+ 8
1397
+ describe
1398
+ p
1399
+ 7
1400
+ I
1401
+ 0
1402
+ I
1403
+ d
1404
+ I
1405
+ 8
1406
+ I
1407
+ f
1408
+ I
1409
+ 10
1410
+ I
1411
+ 16
1412
+ I
1413
+ 1b
1414
+ x
1415
+ 62
1416
+ /Users/jcoglan/projects/primer/spec/primer/helpers/erb_spec.rb
1417
+ p
1418
+ 0
1419
+ x
1420
+ 19
1421
+ shared_examples_for
1422
+ s
1423
+ 20
1424
+ Rails3 ERB templates
1425
+ M
1426
+ 1
1427
+ p
1428
+ 2
1429
+ x
1430
+ 9
1431
+ for_block
1432
+ t
1433
+ n
1434
+ x
1435
+ 9
1436
+ __block__
1437
+ i
1438
+ 78
1439
+ 99
1440
+ 7
1441
+ 0
1442
+ 45
1443
+ 1
1444
+ 2
1445
+ 43
1446
+ 3
1447
+ 65
1448
+ 49
1449
+ 4
1450
+ 3
1451
+ 13
1452
+ 99
1453
+ 12
1454
+ 7
1455
+ 5
1456
+ 12
1457
+ 7
1458
+ 6
1459
+ 12
1460
+ 65
1461
+ 12
1462
+ 49
1463
+ 7
1464
+ 4
1465
+ 15
1466
+ 49
1467
+ 5
1468
+ 0
1469
+ 15
1470
+ 5
1471
+ 56
1472
+ 8
1473
+ 47
1474
+ 50
1475
+ 9
1476
+ 0
1477
+ 15
1478
+ 5
1479
+ 7
1480
+ 10
1481
+ 56
1482
+ 11
1483
+ 47
1484
+ 50
1485
+ 12
1486
+ 1
1487
+ 15
1488
+ 5
1489
+ 7
1490
+ 13
1491
+ 56
1492
+ 14
1493
+ 47
1494
+ 50
1495
+ 12
1496
+ 1
1497
+ 15
1498
+ 5
1499
+ 7
1500
+ 15
1501
+ 56
1502
+ 16
1503
+ 47
1504
+ 50
1505
+ 12
1506
+ 1
1507
+ 15
1508
+ 5
1509
+ 7
1510
+ 17
1511
+ 64
1512
+ 47
1513
+ 49
1514
+ 18
1515
+ 1
1516
+ 11
1517
+ I
1518
+ 7
1519
+ I
1520
+ 0
1521
+ I
1522
+ 0
1523
+ I
1524
+ 0
1525
+ I
1526
+ -2
1527
+ p
1528
+ 19
1529
+ x
1530
+ 21
1531
+ ApplicationController
1532
+ x
1533
+ 16
1534
+ ActionController
1535
+ n
1536
+ x
1537
+ 4
1538
+ Base
1539
+ x
1540
+ 10
1541
+ open_class
1542
+ x
1543
+ 14
1544
+ __class_init__
1545
+ M
1546
+ 1
1547
+ n
1548
+ n
1549
+ x
1550
+ 21
1551
+ ApplicationController
1552
+ i
1553
+ 13
1554
+ 5
1555
+ 66
1556
+ 99
1557
+ 7
1558
+ 0
1559
+ 7
1560
+ 1
1561
+ 65
1562
+ 5
1563
+ 49
1564
+ 2
1565
+ 4
1566
+ 11
1567
+ I
1568
+ 5
1569
+ I
1570
+ 0
1571
+ I
1572
+ 0
1573
+ I
1574
+ 0
1575
+ n
1576
+ p
1577
+ 3
1578
+ x
1579
+ 8
1580
+ _helpers
1581
+ M
1582
+ 1
1583
+ n
1584
+ n
1585
+ x
1586
+ 8
1587
+ _helpers
1588
+ i
1589
+ 4
1590
+ 45
1591
+ 0
1592
+ 1
1593
+ 11
1594
+ I
1595
+ 1
1596
+ I
1597
+ 0
1598
+ I
1599
+ 0
1600
+ I
1601
+ 0
1602
+ n
1603
+ p
1604
+ 2
1605
+ x
1606
+ 15
1607
+ RenderingHelper
1608
+ n
1609
+ p
1610
+ 5
1611
+ I
1612
+ -1
1613
+ I
1614
+ 39
1615
+ I
1616
+ 0
1617
+ I
1618
+ 3a
1619
+ I
1620
+ 4
1621
+ x
1622
+ 62
1623
+ /Users/jcoglan/projects/primer/spec/primer/helpers/erb_spec.rb
1624
+ p
1625
+ 0
1626
+ x
1627
+ 13
1628
+ attach_method
1629
+ p
1630
+ 3
1631
+ I
1632
+ 2
1633
+ I
1634
+ 39
1635
+ I
1636
+ d
1637
+ x
1638
+ 62
1639
+ /Users/jcoglan/projects/primer/spec/primer/helpers/erb_spec.rb
1640
+ p
1641
+ 0
1642
+ x
1643
+ 13
1644
+ attach_method
1645
+ M
1646
+ 1
1647
+ p
1648
+ 2
1649
+ x
1650
+ 9
1651
+ for_block
1652
+ t
1653
+ n
1654
+ x
1655
+ 9
1656
+ __block__
1657
+ i
1658
+ 20
1659
+ 5
1660
+ 48
1661
+ 0
1662
+ 19
1663
+ 0
1664
+ 15
1665
+ 5
1666
+ 48
1667
+ 1
1668
+ 7
1669
+ 2
1670
+ 49
1671
+ 3
1672
+ 1
1673
+ 20
1674
+ 0
1675
+ 49
1676
+ 4
1677
+ 1
1678
+ 11
1679
+ I
1680
+ 4
1681
+ I
1682
+ 1
1683
+ I
1684
+ 0
1685
+ I
1686
+ 0
1687
+ I
1688
+ -2
1689
+ p
1690
+ 5
1691
+ x
1692
+ 7
1693
+ context
1694
+ x
1695
+ 10
1696
+ controller
1697
+ x
1698
+ 12
1699
+ view_context
1700
+ x
1701
+ 4
1702
+ stub
1703
+ x
1704
+ 10
1705
+ and_return
1706
+ p
1707
+ 5
1708
+ I
1709
+ 0
1710
+ I
1711
+ 3f
1712
+ I
1713
+ 6
1714
+ I
1715
+ 40
1716
+ I
1717
+ 14
1718
+ x
1719
+ 62
1720
+ /Users/jcoglan/projects/primer/spec/primer/helpers/erb_spec.rb
1721
+ p
1722
+ 1
1723
+ x
1724
+ 12
1725
+ view_context
1726
+ x
1727
+ 6
1728
+ before
1729
+ x
1730
+ 10
1731
+ controller
1732
+ M
1733
+ 1
1734
+ p
1735
+ 2
1736
+ x
1737
+ 9
1738
+ for_block
1739
+ t
1740
+ n
1741
+ x
1742
+ 9
1743
+ __block__
1744
+ i
1745
+ 25
1746
+ 45
1747
+ 0
1748
+ 1
1749
+ 13
1750
+ 71
1751
+ 2
1752
+ 47
1753
+ 9
1754
+ 21
1755
+ 47
1756
+ 49
1757
+ 3
1758
+ 0
1759
+ 13
1760
+ 47
1761
+ 49
1762
+ 4
1763
+ 0
1764
+ 15
1765
+ 8
1766
+ 24
1767
+ 49
1768
+ 2
1769
+ 0
1770
+ 11
1771
+ I
1772
+ 3
1773
+ I
1774
+ 0
1775
+ I
1776
+ 0
1777
+ I
1778
+ 0
1779
+ I
1780
+ -2
1781
+ p
1782
+ 5
1783
+ x
1784
+ 21
1785
+ ApplicationController
1786
+ n
1787
+ x
1788
+ 3
1789
+ new
1790
+ x
1791
+ 8
1792
+ allocate
1793
+ x
1794
+ 10
1795
+ initialize
1796
+ p
1797
+ 3
1798
+ I
1799
+ 0
1800
+ I
1801
+ 43
1802
+ I
1803
+ 19
1804
+ x
1805
+ 62
1806
+ /Users/jcoglan/projects/primer/spec/primer/helpers/erb_spec.rb
1807
+ p
1808
+ 0
1809
+ x
1810
+ 3
1811
+ let
1812
+ x
1813
+ 7
1814
+ context
1815
+ M
1816
+ 1
1817
+ p
1818
+ 2
1819
+ x
1820
+ 9
1821
+ for_block
1822
+ t
1823
+ n
1824
+ x
1825
+ 9
1826
+ __block__
1827
+ i
1828
+ 7
1829
+ 5
1830
+ 48
1831
+ 0
1832
+ 49
1833
+ 1
1834
+ 0
1835
+ 11
1836
+ I
1837
+ 2
1838
+ I
1839
+ 0
1840
+ I
1841
+ 0
1842
+ I
1843
+ 0
1844
+ I
1845
+ -2
1846
+ p
1847
+ 2
1848
+ x
1849
+ 10
1850
+ controller
1851
+ x
1852
+ 12
1853
+ view_context
1854
+ p
1855
+ 3
1856
+ I
1857
+ 0
1858
+ I
1859
+ 44
1860
+ I
1861
+ 7
1862
+ x
1863
+ 62
1864
+ /Users/jcoglan/projects/primer/spec/primer/helpers/erb_spec.rb
1865
+ p
1866
+ 0
1867
+ x
1868
+ 6
1869
+ output
1870
+ M
1871
+ 1
1872
+ p
1873
+ 2
1874
+ x
1875
+ 9
1876
+ for_block
1877
+ t
1878
+ n
1879
+ x
1880
+ 9
1881
+ __block__
1882
+ i
1883
+ 100
1884
+ 26
1885
+ 93
1886
+ 0
1887
+ 15
1888
+ 29
1889
+ 43
1890
+ 0
1891
+ 5
1892
+ 48
1893
+ 0
1894
+ 44
1895
+ 43
1896
+ 1
1897
+ 80
1898
+ 49
1899
+ 2
1900
+ 1
1901
+ 13
1902
+ 7
1903
+ 3
1904
+ 7
1905
+ 4
1906
+ 64
1907
+ 49
1908
+ 5
1909
+ 2
1910
+ 15
1911
+ 13
1912
+ 7
1913
+ 6
1914
+ 7
1915
+ 7
1916
+ 64
1917
+ 49
1918
+ 5
1919
+ 2
1920
+ 15
1921
+ 49
1922
+ 8
1923
+ 1
1924
+ 30
1925
+ 8
1926
+ 77
1927
+ 26
1928
+ 93
1929
+ 1
1930
+ 15
1931
+ 24
1932
+ 13
1933
+ 45
1934
+ 9
1935
+ 10
1936
+ 12
1937
+ 49
1938
+ 11
1939
+ 1
1940
+ 10
1941
+ 60
1942
+ 8
1943
+ 72
1944
+ 15
1945
+ 5
1946
+ 48
1947
+ 0
1948
+ 49
1949
+ 12
1950
+ 0
1951
+ 19
1952
+ 0
1953
+ 25
1954
+ 8
1955
+ 77
1956
+ 15
1957
+ 92
1958
+ 1
1959
+ 27
1960
+ 34
1961
+ 92
1962
+ 0
1963
+ 27
1964
+ 15
1965
+ 45
1966
+ 13
1967
+ 14
1968
+ 20
1969
+ 0
1970
+ 86
1971
+ 11
1972
+ 9
1973
+ 97
1974
+ 20
1975
+ 0
1976
+ 49
1977
+ 15
1978
+ 0
1979
+ 8
1980
+ 99
1981
+ 20
1982
+ 0
1983
+ 11
1984
+ I
1985
+ 9
1986
+ I
1987
+ 1
1988
+ I
1989
+ 0
1990
+ I
1991
+ 0
1992
+ I
1993
+ -2
1994
+ p
1995
+ 16
1996
+ x
1997
+ 10
1998
+ controller
1999
+ x
2000
+ 4
2001
+ Hash
2002
+ x
2003
+ 16
2004
+ new_from_literal
2005
+ x
2006
+ 4
2007
+ file
2008
+ s
2009
+ 23
2010
+ spec/templates/page.erb
2011
+ x
2012
+ 3
2013
+ []=
2014
+ x
2015
+ 6
2016
+ action
2017
+ s
2018
+ 4
2019
+ show
2020
+ x
2021
+ 6
2022
+ render
2023
+ x
2024
+ 13
2025
+ StandardError
2026
+ n
2027
+ x
2028
+ 3
2029
+ ===
2030
+ x
2031
+ 13
2032
+ response_body
2033
+ x
2034
+ 5
2035
+ Array
2036
+ n
2037
+ x
2038
+ 5
2039
+ first
2040
+ p
2041
+ 9
2042
+ I
2043
+ 0
2044
+ I
2045
+ 48
2046
+ I
2047
+ 7
2048
+ I
2049
+ 47
2050
+ I
2051
+ 30
2052
+ I
2053
+ 48
2054
+ I
2055
+ 51
2056
+ I
2057
+ 49
2058
+ I
2059
+ 64
2060
+ x
2061
+ 62
2062
+ /Users/jcoglan/projects/primer/spec/primer/helpers/erb_spec.rb
2063
+ p
2064
+ 1
2065
+ x
2066
+ 4
2067
+ body
2068
+ s
2069
+ 10
2070
+ erb helper
2071
+ x
2072
+ 21
2073
+ it_should_behave_like
2074
+ p
2075
+ 13
2076
+ I
2077
+ 0
2078
+ I
2079
+ 38
2080
+ I
2081
+ 1f
2082
+ I
2083
+ 3e
2084
+ I
2085
+ 27
2086
+ I
2087
+ 43
2088
+ I
2089
+ 31
2090
+ I
2091
+ 44
2092
+ I
2093
+ 3b
2094
+ I
2095
+ 46
2096
+ I
2097
+ 45
2098
+ I
2099
+ 4c
2100
+ I
2101
+ 4e
2102
+ x
2103
+ 62
2104
+ /Users/jcoglan/projects/primer/spec/primer/helpers/erb_spec.rb
2105
+ p
2106
+ 0
2107
+ x
2108
+ 8
2109
+ describe
2110
+ s
2111
+ 21
2112
+ Sinatra ERB templates
2113
+ M
2114
+ 1
2115
+ p
2116
+ 2
2117
+ x
2118
+ 9
2119
+ for_block
2120
+ t
2121
+ n
2122
+ x
2123
+ 9
2124
+ __block__
2125
+ i
2126
+ 29
2127
+ 5
2128
+ 7
2129
+ 0
2130
+ 56
2131
+ 1
2132
+ 47
2133
+ 50
2134
+ 2
2135
+ 1
2136
+ 15
2137
+ 5
2138
+ 7
2139
+ 3
2140
+ 56
2141
+ 4
2142
+ 47
2143
+ 50
2144
+ 2
2145
+ 1
2146
+ 15
2147
+ 5
2148
+ 7
2149
+ 5
2150
+ 64
2151
+ 47
2152
+ 49
2153
+ 6
2154
+ 1
2155
+ 11
2156
+ I
2157
+ 4
2158
+ I
2159
+ 0
2160
+ I
2161
+ 0
2162
+ I
2163
+ 0
2164
+ I
2165
+ -2
2166
+ p
2167
+ 7
2168
+ x
2169
+ 7
2170
+ context
2171
+ M
2172
+ 1
2173
+ p
2174
+ 2
2175
+ x
2176
+ 9
2177
+ for_block
2178
+ t
2179
+ n
2180
+ x
2181
+ 9
2182
+ __block__
2183
+ i
2184
+ 25
2185
+ 45
2186
+ 0
2187
+ 1
2188
+ 13
2189
+ 71
2190
+ 2
2191
+ 47
2192
+ 9
2193
+ 21
2194
+ 47
2195
+ 49
2196
+ 3
2197
+ 0
2198
+ 13
2199
+ 47
2200
+ 49
2201
+ 4
2202
+ 0
2203
+ 15
2204
+ 8
2205
+ 24
2206
+ 49
2207
+ 2
2208
+ 0
2209
+ 11
2210
+ I
2211
+ 3
2212
+ I
2213
+ 0
2214
+ I
2215
+ 0
2216
+ I
2217
+ 0
2218
+ I
2219
+ -2
2220
+ p
2221
+ 5
2222
+ x
2223
+ 7
2224
+ Context
2225
+ n
2226
+ x
2227
+ 3
2228
+ new
2229
+ x
2230
+ 8
2231
+ allocate
2232
+ x
2233
+ 10
2234
+ initialize
2235
+ p
2236
+ 3
2237
+ I
2238
+ 0
2239
+ I
2240
+ 50
2241
+ I
2242
+ 19
2243
+ x
2244
+ 62
2245
+ /Users/jcoglan/projects/primer/spec/primer/helpers/erb_spec.rb
2246
+ p
2247
+ 0
2248
+ x
2249
+ 3
2250
+ let
2251
+ x
2252
+ 6
2253
+ output
2254
+ M
2255
+ 1
2256
+ p
2257
+ 2
2258
+ x
2259
+ 9
2260
+ for_block
2261
+ t
2262
+ n
2263
+ x
2264
+ 9
2265
+ __block__
2266
+ i
2267
+ 83
2268
+ 45
2269
+ 0
2270
+ 1
2271
+ 7
2272
+ 2
2273
+ 49
2274
+ 3
2275
+ 1
2276
+ 13
2277
+ 71
2278
+ 4
2279
+ 47
2280
+ 9
2281
+ 47
2282
+ 47
2283
+ 49
2284
+ 5
2285
+ 0
2286
+ 13
2287
+ 7
2288
+ 6
2289
+ 64
2290
+ 78
2291
+ 44
2292
+ 43
2293
+ 7
2294
+ 79
2295
+ 49
2296
+ 8
2297
+ 1
2298
+ 13
2299
+ 7
2300
+ 9
2301
+ 7
2302
+ 10
2303
+ 64
2304
+ 49
2305
+ 11
2306
+ 2
2307
+ 15
2308
+ 47
2309
+ 49
2310
+ 12
2311
+ 3
2312
+ 15
2313
+ 8
2314
+ 71
2315
+ 7
2316
+ 6
2317
+ 64
2318
+ 78
2319
+ 44
2320
+ 43
2321
+ 7
2322
+ 79
2323
+ 49
2324
+ 8
2325
+ 1
2326
+ 13
2327
+ 7
2328
+ 9
2329
+ 7
2330
+ 10
2331
+ 64
2332
+ 49
2333
+ 11
2334
+ 2
2335
+ 15
2336
+ 49
2337
+ 4
2338
+ 3
2339
+ 19
2340
+ 0
2341
+ 15
2342
+ 20
2343
+ 0
2344
+ 5
2345
+ 48
2346
+ 13
2347
+ 49
2348
+ 14
2349
+ 1
2350
+ 11
2351
+ I
2352
+ a
2353
+ I
2354
+ 1
2355
+ I
2356
+ 0
2357
+ I
2358
+ 0
2359
+ I
2360
+ -2
2361
+ p
2362
+ 15
2363
+ x
2364
+ 4
2365
+ Tilt
2366
+ n
2367
+ x
2368
+ 3
2369
+ erb
2370
+ x
2371
+ 2
2372
+ []
2373
+ x
2374
+ 3
2375
+ new
2376
+ x
2377
+ 8
2378
+ allocate
2379
+ s
2380
+ 23
2381
+ spec/templates/page.erb
2382
+ x
2383
+ 4
2384
+ Hash
2385
+ x
2386
+ 16
2387
+ new_from_literal
2388
+ x
2389
+ 6
2390
+ outvar
2391
+ s
2392
+ 9
2393
+ @_out_buf
2394
+ x
2395
+ 3
2396
+ []=
2397
+ x
2398
+ 10
2399
+ initialize
2400
+ x
2401
+ 7
2402
+ context
2403
+ x
2404
+ 6
2405
+ render
2406
+ p
2407
+ 5
2408
+ I
2409
+ 0
2410
+ I
2411
+ 53
2412
+ I
2413
+ 4a
2414
+ I
2415
+ 54
2416
+ I
2417
+ 53
2418
+ x
2419
+ 62
2420
+ /Users/jcoglan/projects/primer/spec/primer/helpers/erb_spec.rb
2421
+ p
2422
+ 1
2423
+ x
2424
+ 8
2425
+ template
2426
+ s
2427
+ 10
2428
+ erb helper
2429
+ x
2430
+ 21
2431
+ it_should_behave_like
2432
+ p
2433
+ 7
2434
+ I
2435
+ 0
2436
+ I
2437
+ 50
2438
+ I
2439
+ a
2440
+ I
2441
+ 52
2442
+ I
2443
+ 14
2444
+ I
2445
+ 57
2446
+ I
2447
+ 1d
2448
+ x
2449
+ 62
2450
+ /Users/jcoglan/projects/primer/spec/primer/helpers/erb_spec.rb
2451
+ p
2452
+ 0
2453
+ p
2454
+ 13
2455
+ I
2456
+ 0
2457
+ I
2458
+ 1
2459
+ I
2460
+ 9
2461
+ I
2462
+ 3
2463
+ I
2464
+ 23
2465
+ I
2466
+ 8
2467
+ I
2468
+ 3e
2469
+ I
2470
+ c
2471
+ I
2472
+ 49
2473
+ I
2474
+ 37
2475
+ I
2476
+ 54
2477
+ I
2478
+ 4f
2479
+ I
2480
+ 61
2481
+ x
2482
+ 62
2483
+ /Users/jcoglan/projects/primer/spec/primer/helpers/erb_spec.rb
2484
+ p
2485
+ 0