1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Enable Style/EmptyLinesAroundClassBody rubocop cop.
This commit is contained in:
Hiroshi SHIBATA 2020-09-23 21:02:56 +09:00
parent f56fc720ee
commit 31a6eaabc1
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2
274 changed files with 672 additions and 0 deletions

View file

@ -7,6 +7,7 @@
# object to `Gem::Package.new`.
class Gem::Package::FileSource < Gem::Package::Source # :nodoc: all
attr_reader :path
def initialize(path)
@ -28,4 +29,5 @@ class Gem::Package::FileSource < Gem::Package::Source # :nodoc: all
def with_read_io(&block)
File.open path, 'rb', &block
end
end