timecop-rspec 1.0.1 → 1.0.3

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 (144) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/CHANGELOG.md +36 -2
  4. data/CONTRIBUTING.md +1 -3
  5. data/README.md +39 -13
  6. data/checksums/timecop-rspec-1.0.2.gem.sha256 +1 -0
  7. data/checksums/timecop-rspec-1.0.2.gem.sha512 +1 -0
  8. data/checksums/timecop-rspec-1.0.3.gem.sha256 +1 -0
  9. data/checksums/timecop-rspec-1.0.3.gem.sha512 +1 -0
  10. data/lib/timecop/rspec/version.rb +1 -1
  11. data.tar.gz.sig +2 -1
  12. metadata +53 -140
  13. metadata.gz.sig +0 -0
  14. data/.devcontainer/devcontainer.json +0 -26
  15. data/.env.local.example +0 -3
  16. data/.envrc +0 -41
  17. data/.github/FUNDING.yml +0 -13
  18. data/.github/dependabot.yml +0 -12
  19. data/.github/workflows/ancient.yml +0 -77
  20. data/.github/workflows/auto-assign.yml +0 -21
  21. data/.github/workflows/codeql-analysis.yml +0 -70
  22. data/.github/workflows/coverage.yml +0 -126
  23. data/.github/workflows/current.yml +0 -85
  24. data/.github/workflows/dependency-review.yml +0 -20
  25. data/.github/workflows/deps_locked.yml +0 -75
  26. data/.github/workflows/deps_unlocked.yml +0 -84
  27. data/.github/workflows/discord-notifier.yml +0 -38
  28. data/.github/workflows/heads.yml +0 -84
  29. data/.github/workflows/jruby.yml +0 -75
  30. data/.github/workflows/legacy.yml +0 -67
  31. data/.github/workflows/style.yml +0 -64
  32. data/.github/workflows/supported.yml +0 -82
  33. data/.github/workflows/truffle.yml +0 -75
  34. data/.github/workflows/unsupported.yml +0 -75
  35. data/.gitignore +0 -45
  36. data/.gitlab-ci.yml +0 -44
  37. data/.idea/.gitignore +0 -8
  38. data/.idea/GitLink.xml +0 -6
  39. data/.idea/misc.xml +0 -4
  40. data/.idea/modules.xml +0 -8
  41. data/.idea/timecop-rspec.iml +0 -122
  42. data/.idea/vcs.xml +0 -6
  43. data/.junie/TASK_NOTE.md +0 -1
  44. data/.junie/guidelines.md +0 -139
  45. data/.qlty/qlty.toml +0 -79
  46. data/.rspec +0 -8
  47. data/.rubocop.yml +0 -15
  48. data/.rubocop_gradual.lock +0 -76
  49. data/.simplecov +0 -11
  50. data/.tool-versions +0 -1
  51. data/.yard_gfm_support.rb +0 -22
  52. data/.yardopts +0 -11
  53. data/Appraisal.root.gemfile +0 -12
  54. data/Appraisals +0 -104
  55. data/CNAME +0 -1
  56. data/Gemfile +0 -38
  57. data/Gemfile.lock +0 -293
  58. data/Rakefile +0 -287
  59. data/bin/appraisal +0 -16
  60. data/bin/bundle-audit +0 -16
  61. data/bin/bundler-audit +0 -16
  62. data/bin/code_climate_reek +0 -16
  63. data/bin/coderay +0 -16
  64. data/bin/console +0 -12
  65. data/bin/erb +0 -16
  66. data/bin/gem_checksums +0 -16
  67. data/bin/htmldiff +0 -16
  68. data/bin/irb +0 -16
  69. data/bin/kramdown +0 -16
  70. data/bin/ldiff +0 -16
  71. data/bin/nokogiri +0 -16
  72. data/bin/pry +0 -16
  73. data/bin/racc +0 -16
  74. data/bin/rake +0 -16
  75. data/bin/rdbg +0 -16
  76. data/bin/rdoc +0 -16
  77. data/bin/reek +0 -16
  78. data/bin/ri +0 -16
  79. data/bin/rspec +0 -16
  80. data/bin/rubocop +0 -16
  81. data/bin/rubocop-gradual +0 -16
  82. data/bin/ruby-parse +0 -16
  83. data/bin/ruby-rewrite +0 -16
  84. data/bin/setup +0 -7
  85. data/bin/standardrb +0 -16
  86. data/bin/thor +0 -16
  87. data/bin/yard +0 -16
  88. data/bin/yard-junk +0 -16
  89. data/bin/yardoc +0 -16
  90. data/bin/yri +0 -16
  91. data/certs/pboling.pem +0 -27
  92. data/docs/Timecop/Rspec/ExampleDecorator.html +0 -626
  93. data/docs/Timecop/Rspec/SequentialTimeMachine.html +0 -338
  94. data/docs/Timecop/Rspec/TimeMachine.html +0 -357
  95. data/docs/Timecop/Rspec/TravelLog.html +0 -440
  96. data/docs/Timecop/Rspec/Traveler.html +0 -353
  97. data/docs/Timecop/Rspec/Version.html +0 -154
  98. data/docs/Timecop/Rspec.html +0 -476
  99. data/docs/Timecop.html +0 -143
  100. data/docs/_index.html +0 -224
  101. data/docs/class_list.html +0 -54
  102. data/docs/css/common.css +0 -1
  103. data/docs/css/full_list.css +0 -58
  104. data/docs/css/style.css +0 -503
  105. data/docs/file.CHANGELOG.html +0 -110
  106. data/docs/file.CITATION.html +0 -92
  107. data/docs/file.CODE_OF_CONDUCT.html +0 -201
  108. data/docs/file.CONTRIBUTING.html +0 -220
  109. data/docs/file.LICENSE.html +0 -70
  110. data/docs/file.README.html +0 -531
  111. data/docs/file.REEK.html +0 -71
  112. data/docs/file.RUBOCOP.html +0 -171
  113. data/docs/file.SECURITY.html +0 -101
  114. data/docs/file.rspec.html +0 -109
  115. data/docs/file.timecop-rspec-1.0.0.gem.html +0 -71
  116. data/docs/file.timecop.html +0 -72
  117. data/docs/file_list.html +0 -119
  118. data/docs/frames.html +0 -22
  119. data/docs/index.html +0 -531
  120. data/docs/js/app.js +0 -344
  121. data/docs/js/full_list.js +0 -242
  122. data/docs/js/jquery.js +0 -4
  123. data/docs/method_list.html +0 -198
  124. data/docs/top-level-namespace.html +0 -110
  125. data/gemfiles/audit.gemfile +0 -10
  126. data/gemfiles/coverage.gemfile +0 -10
  127. data/gemfiles/current.gemfile +0 -8
  128. data/gemfiles/deps_unlocked.gemfile +0 -13
  129. data/gemfiles/head.gemfile +0 -9
  130. data/gemfiles/modular/audit.gemfile +0 -5
  131. data/gemfiles/modular/coverage.gemfile +0 -6
  132. data/gemfiles/modular/documentation.gemfile +0 -11
  133. data/gemfiles/modular/style.gemfile +0 -14
  134. data/gemfiles/ruby_2_3.gemfile +0 -5
  135. data/gemfiles/ruby_2_4.gemfile +0 -5
  136. data/gemfiles/ruby_2_5.gemfile +0 -5
  137. data/gemfiles/ruby_2_6.gemfile +0 -8
  138. data/gemfiles/ruby_2_7.gemfile +0 -8
  139. data/gemfiles/ruby_3_0.gemfile +0 -8
  140. data/gemfiles/ruby_3_1.gemfile +0 -8
  141. data/gemfiles/ruby_3_2.gemfile +0 -8
  142. data/gemfiles/ruby_3_3.gemfile +0 -8
  143. data/gemfiles/style.gemfile +0 -10
  144. data/timecop-rspec.gemspec +0 -146
@@ -1,626 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>
7
- Class: Timecop::Rspec::ExampleDecorator
8
-
9
- &mdash; Documentation by YARD 0.9.37
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../../css/style.css" type="text/css" />
14
-
15
- <link rel="stylesheet" href="../../css/common.css" type="text/css" />
16
-
17
- <script type="text/javascript">
18
- pathId = "Timecop::Rspec::ExampleDecorator";
19
- relpath = '../../';
20
- </script>
21
-
22
-
23
- <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
24
-
25
- <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
26
-
27
-
28
- </head>
29
- <body>
30
- <div class="nav_wrap">
31
- <iframe id="nav" src="../../class_list.html?1"></iframe>
32
- <div id="resizer"></div>
33
- </div>
34
-
35
- <div id="main" tabindex="-1">
36
- <div id="header">
37
- <div id="menu">
38
-
39
- <a href="../../_index.html">Index (E)</a> &raquo;
40
- <span class='title'><span class='object_link'><a href="../../Timecop.html" title="Timecop (class)">Timecop</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Rspec.html" title="Timecop::Rspec (module)">Rspec</a></span></span>
41
- &raquo;
42
- <span class="title">ExampleDecorator</span>
43
-
44
- </div>
45
-
46
- <div id="search">
47
-
48
- <a class="full_list_link" id="class_list_link"
49
- href="../../class_list.html">
50
-
51
- <svg width="24" height="24">
52
- <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
- <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
- <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
- </svg>
56
- </a>
57
-
58
- </div>
59
- <div class="clear"></div>
60
- </div>
61
-
62
- <div id="content"><h1>Class: Timecop::Rspec::ExampleDecorator
63
-
64
-
65
-
66
- </h1>
67
- <div class="box_info">
68
-
69
- <dl>
70
- <dt>Inherits:</dt>
71
- <dd>
72
- <span class="inheritName">SimpleDelegator</span>
73
-
74
- <ul class="fullTree">
75
- <li>Object</li>
76
-
77
- <li class="next">SimpleDelegator</li>
78
-
79
- <li class="next">Timecop::Rspec::ExampleDecorator</li>
80
-
81
- </ul>
82
- <a href="#" class="inheritanceTree">show all</a>
83
-
84
- </dd>
85
- </dl>
86
-
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
-
96
-
97
- <dl>
98
- <dt>Defined in:</dt>
99
- <dd>lib/timecop/rspec/example_decorator.rb</dd>
100
- </dl>
101
-
102
- </div>
103
-
104
- <h2>Overview</h2><div class="docstring">
105
- <div class="discussion">
106
- <p>Decorates an RSpec example to interpret timecop metadata.</p>
107
-
108
- <p>Recognized metadata keys:</p>
109
- <ul>
110
- <li>:freeze =&gt; Time/Date/DateTime/String/Proc to freeze time to</li>
111
- <li>:travel =&gt; Time/Date/DateTime/String/Proc to travel to (and optionally continue)</li>
112
- <li>:skip_global_timecop =&gt; when present, disables global time for this example</li>
113
- </ul>
114
-
115
-
116
- </div>
117
- </div>
118
- <div class="tags">
119
-
120
-
121
- </div>
122
-
123
-
124
-
125
-
126
-
127
-
128
-
129
- <h2>
130
- Instance Method Summary
131
- <small><a href="#" class="summary_toggle">collapse</a></small>
132
- </h2>
133
-
134
- <ul class="summary">
135
-
136
- <li class="public ">
137
- <span class="summary_signature">
138
-
139
- <a href="#global_timecop%3F-instance_method" title="#global_timecop? (instance method)">#<strong>global_timecop?</strong> &#x21d2; Boolean </a>
140
-
141
-
142
-
143
- </span>
144
-
145
-
146
-
147
-
148
-
149
-
150
-
151
-
152
-
153
- <span class="summary_desc"><div class='inline'><p>Whether a global time is configured and not skipped by the example.</p>
154
- </div></span>
155
-
156
- </li>
157
-
158
-
159
- <li class="public ">
160
- <span class="summary_signature">
161
-
162
- <a href="#local_timecop%3F-instance_method" title="#local_timecop? (instance method)">#<strong>local_timecop?</strong> &#x21d2; Boolean </a>
163
-
164
-
165
-
166
- </span>
167
-
168
-
169
-
170
-
171
-
172
-
173
-
174
-
175
-
176
- <span class="summary_desc"><div class='inline'><p>Whether the example has local timecop metadata.</p>
177
- </div></span>
178
-
179
- </li>
180
-
181
-
182
- <li class="public ">
183
- <span class="summary_signature">
184
-
185
- <a href="#skip_global_timecop%3F-instance_method" title="#skip_global_timecop? (instance method)">#<strong>skip_global_timecop?</strong> &#x21d2; Boolean </a>
186
-
187
-
188
-
189
- </span>
190
-
191
-
192
-
193
-
194
-
195
-
196
-
197
-
198
-
199
- <span class="summary_desc"><div class='inline'><p>Whether the example requested skipping global timecop behavior.</p>
200
- </div></span>
201
-
202
- </li>
203
-
204
-
205
- <li class="public ">
206
- <span class="summary_signature">
207
-
208
- <a href="#timecop%3F-instance_method" title="#timecop? (instance method)">#<strong>timecop?</strong> &#x21d2; Boolean </a>
209
-
210
-
211
-
212
- </span>
213
-
214
-
215
-
216
-
217
-
218
-
219
-
220
-
221
-
222
- <span class="summary_desc"><div class='inline'><p>Whether any timecop behavior applies to the example.</p>
223
- </div></span>
224
-
225
- </li>
226
-
227
-
228
- <li class="public ">
229
- <span class="summary_signature">
230
-
231
- <a href="#timecop_method-instance_method" title="#timecop_method (instance method)">#<strong>timecop_method</strong> &#x21d2; Symbol<sup>?</sup> </a>
232
-
233
-
234
-
235
- </span>
236
-
237
-
238
-
239
-
240
-
241
-
242
-
243
-
244
-
245
- <span class="summary_desc"><div class='inline'><p>Determines the timecop method to invoke.</p>
246
- </div></span>
247
-
248
- </li>
249
-
250
-
251
- <li class="public ">
252
- <span class="summary_signature">
253
-
254
- <a href="#timecop_time-instance_method" title="#timecop_time (instance method)">#<strong>timecop_time</strong> &#x21d2; Object<sup>?</sup> </a>
255
-
256
-
257
-
258
- </span>
259
-
260
-
261
-
262
-
263
-
264
-
265
-
266
-
267
-
268
- <span class="summary_desc"><div class='inline'><p>Determines the time to use for the chosen timecop method.</p>
269
- </div></span>
270
-
271
- </li>
272
-
273
-
274
- </ul>
275
-
276
-
277
-
278
-
279
-
280
- <div id="instance_method_details" class="method_details_list">
281
- <h2>Instance Method Details</h2>
282
-
283
-
284
- <div class="method_details first">
285
- <h3 class="signature first" id="global_timecop?-instance_method">
286
-
287
- #<strong>global_timecop?</strong> &#x21d2; <tt>Boolean</tt>
288
-
289
-
290
-
291
-
292
-
293
- </h3><div class="docstring">
294
- <div class="discussion">
295
- <p>Whether a global time is configured and not skipped by the example.</p>
296
-
297
-
298
- </div>
299
- </div>
300
- <div class="tags">
301
-
302
- <p class="tag_title">Returns:</p>
303
- <ul class="return">
304
-
305
- <li>
306
-
307
-
308
- <span class='type'>(<tt>Boolean</tt>)</span>
309
-
310
-
311
-
312
- </li>
313
-
314
- </ul>
315
-
316
- </div><table class="source_code">
317
- <tr>
318
- <td>
319
- <pre class="lines">
320
-
321
-
322
- 38
323
- 39
324
- 40</pre>
325
- </td>
326
- <td>
327
- <pre class="code"><span class="info file"># File 'lib/timecop/rspec/example_decorator.rb', line 38</span>
328
-
329
- <span class='kw'>def</span> <span class='id identifier rubyid_global_timecop?'>global_timecop?</span>
330
- <span class='const'><span class='object_link'><a href="../Rspec.html" title="Timecop::Rspec (module)">Rspec</a></span></span><span class='period'>.</span><span class='id identifier rubyid_global_time_configured?'><span class='object_link'><a href="../Rspec.html#global_time_configured%3F-class_method" title="Timecop::Rspec.global_time_configured? (method)">global_time_configured?</a></span></span> <span class='op'>&amp;&amp;</span> <span class='op'>!</span><span class='id identifier rubyid_skip_global_timecop?'>skip_global_timecop?</span>
331
- <span class='kw'>end</span></pre>
332
- </td>
333
- </tr>
334
- </table>
335
- </div>
336
-
337
- <div class="method_details ">
338
- <h3 class="signature " id="local_timecop?-instance_method">
339
-
340
- #<strong>local_timecop?</strong> &#x21d2; <tt>Boolean</tt>
341
-
342
-
343
-
344
-
345
-
346
- </h3><div class="docstring">
347
- <div class="discussion">
348
- <p>Whether the example has local timecop metadata.</p>
349
-
350
-
351
- </div>
352
- </div>
353
- <div class="tags">
354
-
355
- <p class="tag_title">Returns:</p>
356
- <ul class="return">
357
-
358
- <li>
359
-
360
-
361
- <span class='type'>(<tt>Boolean</tt>)</span>
362
-
363
-
364
-
365
- </li>
366
-
367
- </ul>
368
-
369
- </div><table class="source_code">
370
- <tr>
371
- <td>
372
- <pre class="lines">
373
-
374
-
375
- 32
376
- 33
377
- 34</pre>
378
- </td>
379
- <td>
380
- <pre class="code"><span class="info file"># File 'lib/timecop/rspec/example_decorator.rb', line 32</span>
381
-
382
- <span class='kw'>def</span> <span class='id identifier rubyid_local_timecop?'>local_timecop?</span>
383
- <span class='op'>!</span><span class='id identifier rubyid_local_timecop_method'>local_timecop_method</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
384
- <span class='kw'>end</span></pre>
385
- </td>
386
- </tr>
387
- </table>
388
- </div>
389
-
390
- <div class="method_details ">
391
- <h3 class="signature " id="skip_global_timecop?-instance_method">
392
-
393
- #<strong>skip_global_timecop?</strong> &#x21d2; <tt>Boolean</tt>
394
-
395
-
396
-
397
-
398
-
399
- </h3><div class="docstring">
400
- <div class="discussion">
401
- <p>Whether the example requested skipping global timecop behavior.</p>
402
-
403
-
404
- </div>
405
- </div>
406
- <div class="tags">
407
-
408
- <p class="tag_title">Returns:</p>
409
- <ul class="return">
410
-
411
- <li>
412
-
413
-
414
- <span class='type'>(<tt>Boolean</tt>)</span>
415
-
416
-
417
-
418
- </li>
419
-
420
- </ul>
421
-
422
- </div><table class="source_code">
423
- <tr>
424
- <td>
425
- <pre class="lines">
426
-
427
-
428
- 44
429
- 45
430
- 46</pre>
431
- </td>
432
- <td>
433
- <pre class="code"><span class="info file"># File 'lib/timecop/rspec/example_decorator.rb', line 44</span>
434
-
435
- <span class='kw'>def</span> <span class='id identifier rubyid_skip_global_timecop?'>skip_global_timecop?</span>
436
- <span class='id identifier rubyid_metadata'>metadata</span><span class='period'>.</span><span class='id identifier rubyid_key?'>key?</span><span class='lparen'>(</span><span class='symbol'>:skip_global_timecop</span><span class='rparen'>)</span>
437
- <span class='kw'>end</span></pre>
438
- </td>
439
- </tr>
440
- </table>
441
- </div>
442
-
443
- <div class="method_details ">
444
- <h3 class="signature " id="timecop?-instance_method">
445
-
446
- #<strong>timecop?</strong> &#x21d2; <tt>Boolean</tt>
447
-
448
-
449
-
450
-
451
-
452
- </h3><div class="docstring">
453
- <div class="discussion">
454
- <p>Returns whether any timecop behavior applies to the example.</p>
455
-
456
-
457
- </div>
458
- </div>
459
- <div class="tags">
460
-
461
- <p class="tag_title">Returns:</p>
462
- <ul class="return">
463
-
464
- <li>
465
-
466
-
467
- <span class='type'>(<tt>Boolean</tt>)</span>
468
-
469
-
470
-
471
- &mdash;
472
- <div class='inline'><p>whether any timecop behavior applies to the example</p>
473
- </div>
474
-
475
- </li>
476
-
477
- </ul>
478
-
479
- </div><table class="source_code">
480
- <tr>
481
- <td>
482
- <pre class="lines">
483
-
484
-
485
- 14
486
- 15
487
- 16</pre>
488
- </td>
489
- <td>
490
- <pre class="code"><span class="info file"># File 'lib/timecop/rspec/example_decorator.rb', line 14</span>
491
-
492
- <span class='kw'>def</span> <span class='id identifier rubyid_timecop?'>timecop?</span>
493
- <span class='id identifier rubyid_local_timecop?'>local_timecop?</span> <span class='op'>||</span> <span class='id identifier rubyid_global_timecop?'>global_timecop?</span>
494
- <span class='kw'>end</span></pre>
495
- </td>
496
- </tr>
497
- </table>
498
- </div>
499
-
500
- <div class="method_details ">
501
- <h3 class="signature " id="timecop_method-instance_method">
502
-
503
- #<strong>timecop_method</strong> &#x21d2; <tt>Symbol</tt><sup>?</sup>
504
-
505
-
506
-
507
-
508
-
509
- </h3><div class="docstring">
510
- <div class="discussion">
511
- <p>Determines the timecop method to invoke.</p>
512
-
513
-
514
- </div>
515
- </div>
516
- <div class="tags">
517
-
518
- <p class="tag_title">Returns:</p>
519
- <ul class="return">
520
-
521
- <li>
522
-
523
-
524
- <span class='type'>(<tt>Symbol</tt>, <tt>nil</tt>)</span>
525
-
526
-
527
-
528
- &mdash;
529
- <div class='inline'><p>:freeze, :travel, or nil</p>
530
- </div>
531
-
532
- </li>
533
-
534
- </ul>
535
-
536
- </div><table class="source_code">
537
- <tr>
538
- <td>
539
- <pre class="lines">
540
-
541
-
542
- 20
543
- 21
544
- 22</pre>
545
- </td>
546
- <td>
547
- <pre class="code"><span class="info file"># File 'lib/timecop/rspec/example_decorator.rb', line 20</span>
548
-
549
- <span class='kw'>def</span> <span class='id identifier rubyid_timecop_method'>timecop_method</span>
550
- <span class='id identifier rubyid_local_timecop_method'>local_timecop_method</span> <span class='op'>||</span> <span class='id identifier rubyid_global_timecop_method'>global_timecop_method</span>
551
- <span class='kw'>end</span></pre>
552
- </td>
553
- </tr>
554
- </table>
555
- </div>
556
-
557
- <div class="method_details ">
558
- <h3 class="signature " id="timecop_time-instance_method">
559
-
560
- #<strong>timecop_time</strong> &#x21d2; <tt>Object</tt><sup>?</sup>
561
-
562
-
563
-
564
-
565
-
566
- </h3><div class="docstring">
567
- <div class="discussion">
568
- <p>Determines the time to use for the chosen timecop method.</p>
569
-
570
-
571
- </div>
572
- </div>
573
- <div class="tags">
574
-
575
- <p class="tag_title">Returns:</p>
576
- <ul class="return">
577
-
578
- <li>
579
-
580
-
581
- <span class='type'>(<tt>Object</tt>, <tt>nil</tt>)</span>
582
-
583
-
584
-
585
- &mdash;
586
- <div class='inline'><p>a time-like object or nil when not applicable</p>
587
- </div>
588
-
589
- </li>
590
-
591
- </ul>
592
-
593
- </div><table class="source_code">
594
- <tr>
595
- <td>
596
- <pre class="lines">
597
-
598
-
599
- 26
600
- 27
601
- 28</pre>
602
- </td>
603
- <td>
604
- <pre class="code"><span class="info file"># File 'lib/timecop/rspec/example_decorator.rb', line 26</span>
605
-
606
- <span class='kw'>def</span> <span class='id identifier rubyid_timecop_time'>timecop_time</span>
607
- <span class='id identifier rubyid_local_timecop_time'>local_timecop_time</span> <span class='op'>||</span> <span class='id identifier rubyid_global_timecop_time'>global_timecop_time</span>
608
- <span class='kw'>end</span></pre>
609
- </td>
610
- </tr>
611
- </table>
612
- </div>
613
-
614
- </div>
615
-
616
- </div>
617
-
618
- <div id="footer">
619
- Generated on Sun Aug 17 17:04:07 2025 by
620
- <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
621
- 0.9.37 (ruby-3.4.5).
622
- </div>
623
-
624
- </div>
625
- </body>
626
- </html>