Remove unneeded return keyword from last line in Ruby functions

This commit is contained in:
John Bampton
2022-12-27 11:42:48 +10:00
parent 02c576accf
commit 3ba388fc78
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -19,11 +19,11 @@ def cmd_list(s)
end
def cmd(s)
return cmd_list(s).join(' ')
cmd_list(s).join(' ')
end
def cmd_bin(s)
return cmd_list(s).pop
cmd_list(s).pop
end
def shellquote(s)