ruff 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b28d29df62b355432abd0c1a10417154c377b7e1c0f01ba7d5d81a9690769693
4
- data.tar.gz: da7deabe641099ee836992bc9db3e86e77fc5434800e8ba9e7fcd68e2c54d9fa
3
+ metadata.gz: 159e9448a5b85007d17d0c5a53ede55d57c8cbb6a7b2961e1b0fac2bb0f913b2
4
+ data.tar.gz: 5136d5274bc2df709259a46e3eb2865a636fcd5a5e8f36c8d3acd845c288bfdd
5
5
  SHA512:
6
- metadata.gz: 24a373737c693e27b79c76ed75b0208dd18628c633ee7c047bd528258911fc4cea7a5488d49e0b97bf00648e1e673eacfb76032a759049c46c294b24e6680826
7
- data.tar.gz: 2b3c15540b958a02b58de06f47a7f865addc78e49a408d9827db53ed3874daa1b3676b49cfe8757a41fe709c8f35f45f57b120dde8fcdd11d83a599b54c489a0
6
+ metadata.gz: 52ea13247d42472813938758293eedd7dfba2017259ff584999c096bca2c1cc770f35354164beb80ae0c8e66208ee043c112f98642e67d20b45b97df5d80e4ca
7
+ data.tar.gz: 12eb15bc6420c1041e8cf09ad47f323c63b5f3243c756e902be81d6678b55c7388f320087a096392335f9ceec0f1502e8a7b22e4fbda88554f99df12e116be4d
data/.rubocop.yml ADDED
@@ -0,0 +1 @@
1
+ # inherit_from: .rubocop_todo.yml
data/.rubocop_todo.yml ADDED
@@ -0,0 +1,366 @@
1
+ # This configuration was generated by
2
+ # `rubocop --auto-gen-config`
3
+ # on 2019-10-03 04:31:24 +0900 using RuboCop version 0.75.0.
4
+ # The point is for the user to remove these configuration records
5
+ # one by one as the offenses are removed from the code base.
6
+ # Note that changes in the inspected code, or installation of new
7
+ # versions of RuboCop, may require this file to be generated again.
8
+
9
+ # Offense count: 1
10
+ # Cop supports --auto-correct.
11
+ # Configuration parameters: TreatCommentsAsGroupSeparators, Include.
12
+ # Include: **/*.gemfile, **/Gemfile, **/gems.rb
13
+ Bundler/OrderedGems:
14
+ Exclude:
15
+ - 'Gemfile'
16
+
17
+ # Offense count: 8
18
+ # Cop supports --auto-correct.
19
+ Layout/CommentIndentation:
20
+ Exclude:
21
+ - ',hoge.rb'
22
+
23
+ # Offense count: 1
24
+ # Cop supports --auto-correct.
25
+ # Configuration parameters: EnforcedStyle.
26
+ # SupportedStyles: squiggly, active_support, powerpack, unindent
27
+ Layout/IndentHeredoc:
28
+ Exclude:
29
+ - 'Rakefile'
30
+
31
+ # Offense count: 1
32
+ # Cop supports --auto-correct.
33
+ Layout/LeadingBlankLines:
34
+ Exclude:
35
+ - 'ruff.gemspec'
36
+
37
+ # Offense count: 2
38
+ # Cop supports --auto-correct.
39
+ # Configuration parameters: AllowDoxygenCommentStyle.
40
+ Layout/LeadingCommentSpace:
41
+ Exclude:
42
+ - 'lib/ruff/objects.rb'
43
+ - 'lib/ruff/version.cpp.rb'
44
+
45
+ # Offense count: 8
46
+ # Cop supports --auto-correct.
47
+ # Configuration parameters: EnforcedStyle, IndentationWidth.
48
+ # SupportedStyles: aligned, indented, indented_relative_to_receiver
49
+ Layout/MultilineMethodCallIndentation:
50
+ Exclude:
51
+ - ',test.rb'
52
+ - 'lib/ruff/standard/defer.rb'
53
+ - 'lib/ruff/standard/state.rb'
54
+
55
+ # Offense count: 17
56
+ # Cop supports --auto-correct.
57
+ # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
58
+ # SupportedStyles: space, no_space
59
+ # SupportedStylesForEmptyBraces: space, no_space
60
+ Layout/SpaceBeforeBlockBraces:
61
+ Exclude:
62
+ - ',hoge.rb'
63
+ - ',test.rb'
64
+ - 'Rakefile'
65
+ - 'lib/ruff/handler.rb'
66
+ - 'lib/ruff/standard/current_time.rb'
67
+ - 'lib/ruff/standard/defer.rb'
68
+ - 'lib/ruff/standard/state.rb'
69
+ - 'ruff.gemspec'
70
+
71
+ # Offense count: 17
72
+ # Cop supports --auto-correct.
73
+ # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
74
+ # SupportedStyles: space, no_space
75
+ # SupportedStylesForEmptyBraces: space, no_space
76
+ Layout/SpaceInsideBlockBraces:
77
+ Exclude:
78
+ - ',hoge.rb'
79
+ - ',test.rb'
80
+ - 'Rakefile'
81
+ - 'lib/ruff/handler.rb'
82
+ - 'lib/ruff/standard/current_time.rb'
83
+ - 'lib/ruff/standard/defer.rb'
84
+ - 'lib/ruff/standard/state.rb'
85
+ - 'ruff.gemspec'
86
+
87
+ # Offense count: 4
88
+ # Cop supports --auto-correct.
89
+ # Configuration parameters: EnforcedStyle.
90
+ # SupportedStyles: final_newline, final_blank_line
91
+ Layout/TrailingBlankLines:
92
+ Exclude:
93
+ - ',hoge.rb'
94
+ - 'lib/ruff/standard.rb'
95
+ - 'lib/ruff/standard/current_time.rb'
96
+ - 'lib/ruff/standard/state.rb'
97
+
98
+ # Offense count: 1
99
+ # Cop supports --auto-correct.
100
+ # Configuration parameters: AllowInHeredoc.
101
+ Layout/TrailingWhitespace:
102
+ Exclude:
103
+ - 'ruff.gemspec'
104
+
105
+ # Offense count: 9
106
+ Lint/AmbiguousOperator:
107
+ Exclude:
108
+ - 'lib/ruff/handler.rb'
109
+ - 'lib/ruff/standard/current_time.rb'
110
+ - 'lib/ruff/standard/defer.rb'
111
+ - 'lib/ruff/standard/state.rb'
112
+
113
+ # Offense count: 2
114
+ # Configuration parameters: AllowSafeAssignment.
115
+ Lint/AssignmentInCondition:
116
+ Exclude:
117
+ - 'lib/ruff/handler.rb'
118
+
119
+ # Offense count: 1
120
+ Lint/ParenthesesAsGroupedExpression:
121
+ Exclude:
122
+ - ',test.rb'
123
+
124
+ # Offense count: 1
125
+ Metrics/AbcSize:
126
+ Max: 34
127
+
128
+ # Offense count: 2
129
+ # Configuration parameters: CountComments, ExcludedMethods.
130
+ Metrics/MethodLength:
131
+ Max: 42
132
+
133
+ # Offense count: 2
134
+ # Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts, AllowedAcronyms.
135
+ # AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
136
+ Naming/FileName:
137
+ Exclude:
138
+ - ',hoge.rb'
139
+ - ',test.rb'
140
+
141
+ # Offense count: 1
142
+ # Configuration parameters: Blacklist.
143
+ # Blacklist: (?-mix:(^|\s)(EO[A-Z]{1}|END)(\s|$))
144
+ Naming/HeredocDelimiterNaming:
145
+ Exclude:
146
+ - 'Rakefile'
147
+
148
+ # Offense count: 11
149
+ # Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
150
+ # AllowedNames: io, id, to, by, on, in, at, ip, db
151
+ Naming/UncommunicativeMethodParamName:
152
+ Exclude:
153
+ - 'lib/ruff/effect.rb'
154
+ - 'lib/ruff/handler.rb'
155
+ - 'lib/ruff/objects.rb'
156
+ - 'lib/ruff/standard/current_time.rb'
157
+ - 'lib/ruff/standard/defer.rb'
158
+ - 'lib/ruff/standard/state.rb'
159
+
160
+ # Offense count: 19
161
+ # Cop supports --auto-correct.
162
+ # Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, IgnoredMethods, AllowBracesOnProceduralOneLiners.
163
+ # SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces
164
+ # ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
165
+ # FunctionalMethods: let, let!, subject, watch
166
+ # IgnoredMethods: lambda, proc, it
167
+ Style/BlockDelimiters:
168
+ Exclude:
169
+ - ',hoge.rb'
170
+ - ',test.rb'
171
+ - 'Rakefile'
172
+ - 'lib/ruff/handler.rb'
173
+ - 'lib/ruff/standard/defer.rb'
174
+ - 'lib/ruff/standard/state.rb'
175
+ - 'ruff.gemspec'
176
+
177
+ # Offense count: 9
178
+ # Cop supports --auto-correct.
179
+ # Configuration parameters: AutoCorrect, EnforcedStyle.
180
+ # SupportedStyles: nested, compact
181
+ Style/ClassAndModuleChildren:
182
+ Exclude:
183
+ - 'lib/ruff/effect.rb'
184
+ - 'lib/ruff/handler.rb'
185
+ - 'lib/ruff/objects.rb'
186
+ - 'lib/ruff/standard.rb'
187
+ - 'lib/ruff/standard/current_time.rb'
188
+ - 'lib/ruff/standard/defer.rb'
189
+ - 'lib/ruff/standard/state.rb'
190
+
191
+ # Offense count: 9
192
+ Style/Documentation:
193
+ Exclude:
194
+ - 'spec/**/*'
195
+ - 'test/**/*'
196
+ - 'lib/ruff.rb'
197
+ - 'lib/ruff/objects.rb'
198
+ - 'lib/ruff/standard.rb'
199
+ - 'lib/ruff/standard/current_time.rb'
200
+ - 'lib/ruff/standard/defer.rb'
201
+ - 'lib/ruff/standard/state.rb'
202
+
203
+ # Offense count: 1
204
+ # Cop supports --auto-correct.
205
+ Style/EmptyLiteral:
206
+ Exclude:
207
+ - 'lib/ruff/handler.rb'
208
+
209
+ # Offense count: 2
210
+ # Cop supports --auto-correct.
211
+ Style/ExpandPathArguments:
212
+ Exclude:
213
+ - 'ruff.gemspec'
214
+
215
+ # Offense count: 15
216
+ # Cop supports --auto-correct.
217
+ # Configuration parameters: EnforcedStyle.
218
+ # SupportedStyles: always, never
219
+ Style/FrozenStringLiteralComment:
220
+ Exclude:
221
+ - ',hoge.rb'
222
+ - ',test.rb'
223
+ - 'Gemfile'
224
+ - 'Rakefile'
225
+ - 'lib/ruff.rb'
226
+ - 'lib/ruff/effect.rb'
227
+ - 'lib/ruff/handler.rb'
228
+ - 'lib/ruff/objects.rb'
229
+ - 'lib/ruff/standard.rb'
230
+ - 'lib/ruff/standard/current_time.rb'
231
+ - 'lib/ruff/standard/defer.rb'
232
+ - 'lib/ruff/standard/state.rb'
233
+ - 'lib/ruff/version.cpp.rb'
234
+ - 'lib/ruff/version.rb'
235
+ - 'ruff.gemspec'
236
+
237
+ # Offense count: 1
238
+ # Cop supports --auto-correct.
239
+ # Configuration parameters: EnforcedStyle, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
240
+ # SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
241
+ Style/HashSyntax:
242
+ Exclude:
243
+ - 'Rakefile'
244
+
245
+ # Offense count: 4
246
+ # Cop supports --auto-correct.
247
+ # Configuration parameters: EnforcedStyle.
248
+ # SupportedStyles: line_count_dependent, lambda, literal
249
+ Style/Lambda:
250
+ Exclude:
251
+ - 'lib/ruff/handler.rb'
252
+
253
+ # Offense count: 7
254
+ # Cop supports --auto-correct.
255
+ # Configuration parameters: .
256
+ # SupportedStyles: call, braces
257
+ Style/LambdaCall:
258
+ EnforcedStyle: braces
259
+
260
+ # Offense count: 15
261
+ # Cop supports --auto-correct.
262
+ # Configuration parameters: EnforcedStyle.
263
+ # SupportedStyles: require_parentheses, require_no_parentheses, require_no_parentheses_except_multiline
264
+ Style/MethodDefParentheses:
265
+ Exclude:
266
+ - 'lib/ruff/handler.rb'
267
+ - 'lib/ruff/standard/current_time.rb'
268
+ - 'lib/ruff/standard/defer.rb'
269
+ - 'lib/ruff/standard/state.rb'
270
+
271
+ # Offense count: 1
272
+ Style/MixinUsage:
273
+ Exclude:
274
+ - ',hoge.rb'
275
+
276
+ # Offense count: 2
277
+ Style/MultilineBlockChain:
278
+ Exclude:
279
+ - 'lib/ruff/standard/defer.rb'
280
+ - 'lib/ruff/standard/state.rb'
281
+
282
+ # Offense count: 1
283
+ # Cop supports --auto-correct.
284
+ Style/MultilineWhenThen:
285
+ Exclude:
286
+ - 'lib/ruff/handler.rb'
287
+
288
+ # Offense count: 1
289
+ # Cop supports --auto-correct.
290
+ # Configuration parameters: EnforcedStyle.
291
+ # SupportedStyles: literals, strict
292
+ Style/MutableConstant:
293
+ Exclude:
294
+ - 'lib/ruff/version.rb'
295
+
296
+ # Offense count: 2
297
+ # Cop supports --auto-correct.
298
+ # Configuration parameters: PreferredDelimiters.
299
+ Style/PercentLiteralDelimiters:
300
+ Exclude:
301
+ - 'ruff.gemspec'
302
+
303
+ # Offense count: 1
304
+ # Cop supports --auto-correct.
305
+ # Configuration parameters: AllowMultipleReturnValues.
306
+ Style/RedundantReturn:
307
+ Exclude:
308
+ - 'lib/ruff/effect.rb'
309
+
310
+ # Offense count: 2
311
+ # Cop supports --auto-correct.
312
+ # Configuration parameters: AllowAsExpressionSeparator.
313
+ Style/Semicolon:
314
+ Exclude:
315
+ - 'lib/ruff/objects.rb'
316
+
317
+ # Offense count: 38
318
+ # Cop supports --auto-correct.
319
+ # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
320
+ # SupportedStyles: single_quotes, double_quotes
321
+ Style/StringLiterals:
322
+ Exclude:
323
+ - ',hoge.rb'
324
+ - ',test.rb'
325
+ - 'Gemfile'
326
+ - 'Rakefile'
327
+ - 'lib/ruff.rb'
328
+ - 'lib/ruff/standard.rb'
329
+ - 'lib/ruff/version.rb'
330
+ - 'ruff.gemspec'
331
+
332
+ # Offense count: 1
333
+ # Cop supports --auto-correct.
334
+ # Configuration parameters: EnforcedStyle.
335
+ # SupportedStyles: single_quotes, double_quotes
336
+ Style/StringLiteralsInInterpolation:
337
+ Exclude:
338
+ - 'Rakefile'
339
+
340
+ # Offense count: 1
341
+ # Cop supports --auto-correct.
342
+ # Configuration parameters: MinSize.
343
+ # SupportedStyles: percent, brackets
344
+ Style/SymbolArray:
345
+ EnforcedStyle: brackets
346
+
347
+ # Offense count: 1
348
+ # Cop supports --auto-correct.
349
+ # Configuration parameters: IgnoredMethods.
350
+ # IgnoredMethods: respond_to, define_method
351
+ Style/SymbolProc:
352
+ Exclude:
353
+ - 'lib/ruff/standard/defer.rb'
354
+
355
+ # Offense count: 2
356
+ # Cop supports --auto-correct.
357
+ Style/UnneededPercentQ:
358
+ Exclude:
359
+ - 'ruff.gemspec'
360
+
361
+ # Offense count: 5
362
+ # Cop supports --auto-correct.
363
+ # Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
364
+ # URISchemes: http, https
365
+ Metrics/LineLength:
366
+ Max: 117
data/.solargraph.yml ADDED
@@ -0,0 +1,18 @@
1
+ ---
2
+ plugins:
3
+ - runtime
4
+ include:
5
+ - "**/*.rb"
6
+ exclude:
7
+ - spec/**/*
8
+ - test/**/*
9
+ - vendor/**/*
10
+ - "lib/ruff/version.rb"
11
+ - ".bundle/**/*"
12
+ require: []
13
+ domains: []
14
+ reporters:
15
+ - rubocop
16
+ - require_not_found
17
+ require_paths: []
18
+ max_files: 5000
data/Gemfile CHANGED
@@ -1,6 +1,10 @@
1
- source "https://rubygems.org"
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
2
4
 
3
5
  # Specify your gem's dependencies in ruff.gemspec
4
6
  gemspec
5
- gem 'yard', group: :development
6
7
  gem 'redcarpet', group: :development
8
+ gem 'rubocop', group: :development
9
+ gem 'solargraph', group: :development
10
+ gem 'yard', group: :development
data/Gemfile.lock CHANGED
@@ -1,13 +1,49 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruff (0.0.8)
4
+ ruff (1.0.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
+ ast (2.4.0)
10
+ backport (1.1.2)
11
+ htmlentities (4.3.4)
12
+ jaro_winkler (1.5.3)
13
+ mini_portile2 (2.4.0)
14
+ nokogiri (1.10.4)
15
+ mini_portile2 (~> 2.4.0)
16
+ parallel (1.17.0)
17
+ parser (2.6.4.1)
18
+ ast (~> 2.4.0)
19
+ rainbow (3.0.0)
9
20
  rake (10.5.0)
10
21
  redcarpet (3.5.0)
22
+ reverse_markdown (1.3.0)
23
+ nokogiri
24
+ rubocop (0.75.0)
25
+ jaro_winkler (~> 1.5.1)
26
+ parallel (~> 1.10)
27
+ parser (>= 2.6)
28
+ rainbow (>= 2.2.2, < 4.0)
29
+ ruby-progressbar (~> 1.7)
30
+ unicode-display_width (>= 1.4.0, < 1.7)
31
+ ruby-progressbar (1.10.1)
32
+ solargraph (0.37.2)
33
+ backport (~> 1.1)
34
+ bundler (>= 1.17.2)
35
+ htmlentities (~> 4.3, >= 4.3.4)
36
+ jaro_winkler (~> 1.5)
37
+ nokogiri (~> 1.9, >= 1.9.1)
38
+ parser (~> 2.3)
39
+ reverse_markdown (~> 1.0, >= 1.0.5)
40
+ rubocop (~> 0.52)
41
+ thor (~> 0.19, >= 0.19.4)
42
+ tilt (~> 2.0)
43
+ yard (~> 0.9)
44
+ thor (0.20.3)
45
+ tilt (2.0.10)
46
+ unicode-display_width (1.6.0)
11
47
  yard (0.9.20)
12
48
 
13
49
  PLATFORMS
@@ -17,7 +53,9 @@ DEPENDENCIES
17
53
  bundler (~> 2.0)
18
54
  rake (~> 10.0)
19
55
  redcarpet
56
+ rubocop
20
57
  ruff!
58
+ solargraph
21
59
  yard
22
60
 
23
61
  BUNDLED WITH
data/Rakefile CHANGED
@@ -1,30 +1,30 @@
1
- require "bundler/gem_tasks"
2
- require "yard"
3
- require "ruff/version"
1
+ # frozen_string_literal: true
4
2
 
5
- YARD::Rake::YardocTask.new {|doc|
6
- doc.name = "doc"
3
+ require 'bundler/gem_tasks'
4
+ require 'yard'
5
+ # require 'ruff/version'
6
+
7
+ YARD::Rake::YardocTask.new do |doc|
8
+ doc.name = 'doc'
7
9
 
8
10
  [
9
- "--output-dir=docs",
11
+ '--output-dir=docs',
10
12
  "--title=Ruff #{Ruff::VERSION} Documentation",
11
- "--markup-provider=redcarpet",
12
- "--markup=markdown",
13
- "--charset=utf-8"
14
- ].each{|opt| doc.options << opt }
13
+ '--markup-provider=redcarpet',
14
+ '--markup=markdown',
15
+ '--charset=utf-8'
16
+ ].each { |opt| doc.options << opt }
15
17
 
16
- doc.files = FileList.new "lib/**/*.rb"
17
- }
18
+ doc.files = FileList.new 'lib/**/*.rb'
19
+ end
18
20
 
19
- desc "new version"
20
- task(:newver, [:major, :minor, :patch]){|_, args|
21
- File.open('version.h', 'r+'){|f|
22
- f.write <<-EOL
23
- #define RUFF_VERSION "#{args.to_a.join "."}"
24
- EOL
25
- }
21
+ desc 'new version'
22
+ task(:newver, %i[major minor patch]) do |_, args|
23
+ File.open('version', 'r+') do |f|
24
+ f.write args.to_a.join '.'
25
+ end
26
26
 
27
- sh "cpp -P lib/ruff/version.cpp.rb > lib/ruff/version.rb"
28
- }
27
+ sh 'bash lib/ruff/version.gen.sh > lib/ruff/version.rb'
28
+ end
29
29
 
30
- task :default => :spec
30
+ task default: :spec
@@ -244,13 +244,13 @@
244
244
  <pre class="lines">
245
245
 
246
246
 
247
- 10
248
- 11
249
247
  12
250
- 13</pre>
248
+ 13
249
+ 14
250
+ 15</pre>
251
251
  </td>
252
252
  <td>
253
- <pre class="code"><span class="info file"># File 'lib/ruff/effect.rb', line 10</span>
253
+ <pre class="code"><span class="info file"># File 'lib/ruff/effect.rb', line 12</span>
254
254
 
255
255
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span>
256
256
  <span class='ivar'>@id</span> <span class='op'>=</span> <span class='const'>SecureRandom</span><span class='period'>.</span><span class='id identifier rubyid_uuid'>uuid</span>
@@ -293,12 +293,12 @@
293
293
  <pre class="lines">
294
294
 
295
295
 
296
- 4
297
- 5
298
- 6</pre>
296
+ 6
297
+ 7
298
+ 8</pre>
299
299
  </td>
300
300
  <td>
301
- <pre class="code"><span class="info file"># File 'lib/ruff/effect.rb', line 4</span>
301
+ <pre class="code"><span class="info file"># File 'lib/ruff/effect.rb', line 6</span>
302
302
 
303
303
  <span class='kw'>def</span> <span class='id identifier rubyid_id'>id</span>
304
304
  <span class='ivar'>@id</span>
@@ -384,15 +384,15 @@
384
384
  <pre class="lines">
385
385
 
386
386
 
387
- 20
388
- 21
389
- 22</pre>
387
+ 22
388
+ 23
389
+ 24</pre>
390
390
  </td>
391
391
  <td>
392
- <pre class="code"><span class="info file"># File 'lib/ruff/effect.rb', line 20</span>
392
+ <pre class="code"><span class="info file"># File 'lib/ruff/effect.rb', line 22</span>
393
393
 
394
394
  <span class='kw'>def</span> <span class='id identifier rubyid_perform'>perform</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_a'>a</span><span class='rparen'>)</span>
395
- <span class='kw'>return</span> <span class='const'>Fiber</span><span class='period'>.</span><span class='id identifier rubyid_yield'>yield</span> <span class='const'><span class='object_link'><a href="../Ruff.html" title="Ruff (module)">Ruff</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Throws.html" title="Ruff::Throws (module)">Throws</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Throws/Eff.html" title="Ruff::Throws::Eff (class)">Eff</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Throws/Eff.html#initialize-instance_method" title="Ruff::Throws::Eff#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='ivar'>@id</span><span class='comma'>,</span> <span class='id identifier rubyid_a'>a</span><span class='rparen'>)</span>
395
+ <span class='const'>Fiber</span><span class='period'>.</span><span class='id identifier rubyid_yield'>yield</span> <span class='const'><span class='object_link'><a href="../Ruff.html" title="Ruff (module)">Ruff</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Throws.html" title="Ruff::Throws (module)">Throws</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Throws/Eff.html" title="Ruff::Throws::Eff (class)">Eff</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Throws/Eff.html#initialize-instance_method" title="Ruff::Throws::Eff#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='ivar'>@id</span><span class='comma'>,</span> <span class='id identifier rubyid_a'>a</span><span class='rparen'>)</span>
396
396
  <span class='kw'>end</span></pre>
397
397
  </td>
398
398
  </tr>
@@ -404,7 +404,7 @@
404
404
  </div>
405
405
 
406
406
  <div id="footer">
407
- Generated on Thu Oct 3 03:27:26 2019 by
407
+ Generated on Thu Oct 3 05:05:04 2019 by
408
408
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
409
409
  0.9.20 (ruby-2.6.4).
410
410
  </div>