

Does Ruby require the use of []
and {}
there? Because those %w
/%i
/etc things look like custom quoting operators and at least in Perl you can use any delimiter you want: qw(a b c)
is a list of strings, but so are qw+a b c+
and qw;a b c;
.
That’s just syntax.
>>> 10 .yearsTraceback (most recent call last): File "<stdin>", line 1, in <module>AttributeError: 'int' object has no attribute 'years'