I have the following which works well:
def steps
%w[hello billing confirmation]
end
steps.first
But I want to do this:
def step_title
%w['Upload a photo' 'Billing Info' 'Confirmation Screen']
end
steps.first
How does %w allow for that? I tried a google search but google is weak with these types of characters.
Thanks
question from:https://stackoverflow.com/questions/4455429/rails-using-w