Trying to learn how to work with arrays. Using RubyMine.
Trouble with array syntax below in html.erb file.
<html>
<head>
<title>Ruby Arrays</title>
</head>
<body>
<%= array = ['a','b','c'] %>
</body>
</html>
Shows up in browser as this:
["a", "b", "c"]
using 1.9.1
Thanks for any suggestions.
--
Warm Regards,
Todd Weeks
[email protected]
801.814.9084
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.