mirror of
https://github.com/ruby/ruby.git
synced 2026-01-26 20:19:19 +00:00
Fix indent rule by rubygems/bundler cops
This commit is contained in:
parent
d42fcda002
commit
535f0746ed
@ -19,10 +19,10 @@ class TestGemRDoc < Gem::TestCase
|
||||
install_gem @a
|
||||
|
||||
hook_class = if defined?(RDoc::RubyGemsHook)
|
||||
RDoc::RubyGemsHook
|
||||
else
|
||||
Gem::RDoc
|
||||
end
|
||||
RDoc::RubyGemsHook
|
||||
else
|
||||
Gem::RDoc
|
||||
end
|
||||
|
||||
@hook = hook_class.new @a
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user