1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Replace alias with alias_method

Done with `rubocop --auto-correct --only Alias`
This commit is contained in:
Paul Thornthwaite 2014-05-23 01:59:34 +01:00
parent 6c6a118234
commit 814cb82f22
42 changed files with 61 additions and 61 deletions

View file

@ -18,7 +18,7 @@ module Fog
def drive=(new_drive)
attributes[:drive] = new_drive
end
alias :volume :drive
alias_method :volume, :drive
end
end
end

View file

@ -60,7 +60,7 @@ module Fog
true
end
alias :delete :destroy
alias_method :delete, :destroy
def start(start_params={})
requires :identity

View file

@ -22,7 +22,7 @@ module Fog
merge_attributes(new_attributes)
end
alias :save :update
alias_method :save, :update
end
end
end

View file

@ -55,7 +55,7 @@ module Fog
true
end
alias :delete :destroy
alias_method :delete, :destroy
def clone(clone_params={})
requires :identity