mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Remove unneeded return keyword from last line in Ruby functions
This commit is contained in:
+2
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user