mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 21:54:58 +00:00
Yet more Rubocopping
This commit is contained in:
@@ -378,7 +378,7 @@ class StringInput
|
||||
f = super
|
||||
yield f
|
||||
ensure
|
||||
f.close if f
|
||||
f&.close
|
||||
end
|
||||
else
|
||||
super
|
||||
|
||||
@@ -137,7 +137,7 @@ class StringInput
|
||||
end
|
||||
|
||||
def each_byte
|
||||
while !eof?
|
||||
until eof?
|
||||
yield getc
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user