On Nov 22, 2014, at 11:39 AM, Augusts Bautra <augusts / creo.mobi> wrote:
> Then again, I can do just fine without the map
> a.split(",")[1..-1].join(",") #=> "b,c"
> Still, any way to use ampersand shortcut without specifying a method to get {|a| a} like &:foo gives {|a| a.foo }?

If the point is using ampersand, then I think it”Ēs like Jeremy said, you need to write your own helper method.

If the point is writing a more concise line of code, then this is one possible way:

a.split(',', 2).last

Regards,