rspec/rules/S107/ruby/split-example.adoc
2023-08-10 16:54:47 +02:00

12 lines
209 B
Plaintext

[source,ruby]
----
# Each function does a part of what the original distance function was doing, so confusion risks are lower
def move(x, y, z)
# ...
end
def resize(width, height, depth)
# ...
end
----