← Back to Upcase
thoughtbot
What is the advantages of a literal for symbol array?
Ruby
andyw8
(Andy Waite)
August 22, 2015, 10:09am
5
I like
%i[a b]
since the square brackets signify an array.
1 Like
show post in topic
Related Topics
Topic
Replies
Views
Activity
Github vs bbatsov Ruby Style Guides
Ruby on Rails
4
1788
April 4, 2014
Initializer accepting symbols?
Ruby
2
1006
February 25, 2016
Ruby #inject
Ruby
2
9529
February 24, 2016
Functors Are More Fun Than Nil
Ruby on Rails
2
763
November 14, 2014
What is the difference between Hash.new([]) and Hash.new()
Ruby on Rails
5
2241
October 12, 2013