Skip to content

Instantly share code, notes, and snippets.

@BitOfUniverse
Created March 28, 2019 12:08
Show Gist options
  • Save BitOfUniverse/1b49298a551994f76cac681e41294b10 to your computer and use it in GitHub Desktop.
Save BitOfUniverse/1b49298a551994f76cac681e41294b10 to your computer and use it in GitHub Desktop.
Ruby return multiple values example
return [:ok, response.body]
# or
[:ok, response.body]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment