Yet more Rubocopping

This commit is contained in:
Maruno17
2021-12-23 00:27:17 +00:00
parent 514fe13ca2
commit 132a16950d
171 changed files with 1455 additions and 1647 deletions

View File

@@ -17,7 +17,7 @@ class ColoredPlane < Plane
end
def dispose
self.bitmap.dispose if self.bitmap
self.bitmap&.dispose
super
end
@@ -59,7 +59,7 @@ class AnimatedPlane < Plane
private
def clear_bitmap
@bitmap.dispose if @bitmap
@bitmap&.dispose
@bitmap = nil
self.bitmap = nil if !self.disposed?
end