mirror of
https://github.com/ruby/ruby.git
synced 2025-09-19 18:43:59 +02: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
|
@ -40,11 +40,13 @@ module YAML # :nodoc:
|
|||
# should.
|
||||
module Syck
|
||||
class DefaultKey
|
||||
|
||||
remove_method :to_s rescue nil
|
||||
|
||||
def to_s
|
||||
'='
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue