From: Aaron Patterson Date: 2011-08-04T09:26:11+09:00 Subject: [ruby-core:38770] [Ruby 1.9 - Feature #4985] Add %S[] support for making a list of symbols Issue #4985 has been updated by Aaron Patterson. File percent_i.patch added I've updated my patch to implement %i and %I. They have the same semantics as %w and %W (one with interpolation, one without). What do you think of this matz? ---------------------------------------- Feature #4985: Add %S[] support for making a list of symbols http://redmine.ruby-lang.org/issues/4985 Author: Aaron Patterson Status: Open Priority: Normal Assignee: Yukihiro Matsumoto Category: Target version: I would like to add %S, which would create a list of symbols. For example: %S[foo bar] # => [:foo, :bar] I've attached a patch which implements this along with ripper events and tests. Thanks to Josh Susser for thinking of this. :-) -- http://redmine.ruby-lang.org