Skip to content

Instantly share code, notes, and snippets.

@ricburton
Last active December 16, 2015 20:59
Show Gist options
  • Save ricburton/5496435 to your computer and use it in GitHub Desktop.
Save ricburton/5496435 to your computer and use it in GitHub Desktop.
%w(a b c d e f).map(&:to_s) # => ["a", "b", "c", "d", "e", "f"]
%w(a b c d e f).pop # => "f"
%w(a b c d e f).fetch(3) # => "d"
%w(a b c d e f).join(', ') # => "a, b, c, d, e, f"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment