diff options
author | Austin Ziegler <austin@zieglers.ca> | 2021-12-23 11:25:43 -0500 |
---|---|---|
committer | Austin Ziegler <austin@zieglers.ca> | 2022-07-04 20:26:10 -0400 |
commit | b160187f3d94f84b38faadb0726f7b0ae773d7eb (patch) | |
tree | 3fadefafeb60cdbb3f6b5fb85fa2c53a8d058cad /lib/diff/lcs/hunk.rb | |
parent | 7d087cc973685105e2bc1c69dca60d719138dcbc (diff) | |
download | diff-lcs-b160187f3d94f84b38faadb0726f7b0ae773d7eb.tar.gz |
standardrb --only Style/Alias --fix
Diffstat (limited to 'lib/diff/lcs/hunk.rb')
-rw-r--r-- | lib/diff/lcs/hunk.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/diff/lcs/hunk.rb b/lib/diff/lcs/hunk.rb index 9f596f3..7f97a7d 100644 --- a/lib/diff/lcs/hunk.rb +++ b/lib/diff/lcs/hunk.rb @@ -102,7 +102,7 @@ class Diff::LCS::Hunk @start_new = hunk.start_new blocks.unshift(*hunk.blocks) end - alias unshift merge + alias_method :unshift, :merge # Determines whether there is an overlap between this hunk and the # provided hunk. This will be true if the difference between the two hunks |