mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Manually merged from https://github.com/rubygems/rubygems/pull/2636
Enable Style/EmptyLinesAroundClassBody rubocop cop.
This commit is contained in:
parent
f56fc720ee
commit
31a6eaabc1
274 changed files with 672 additions and 0 deletions
|
@ -6,6 +6,7 @@ require 'rubygems/package'
|
|||
# A test case for Gem::Package::Tar* classes
|
||||
|
||||
class Gem::Package::TarTestCase < Gem::TestCase
|
||||
|
||||
def ASCIIZ(str, length)
|
||||
str + "\0" * (length - str.length)
|
||||
end
|
||||
|
@ -136,4 +137,5 @@ class Gem::Package::TarTestCase < Gem::TestCase
|
|||
def util_symlink_entry
|
||||
util_entry tar_symlink_header("foo", "bar", 0, Time.now, "link")
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue