Closed jon80 closed 13 years ago
However, the code snippet is available under heading 'Arrays and Hashes'
try this under firefox. I think its the keyboard issue I have been working on solving for the last several weeks. Are you using an american keyboard? aka locale en-us?
The following code snippet is not being accepted:
a = [ 1, 'cat', 3.14159265 ]:112: syntax error, unexpected tIDENTIFIER, expecting
']'
SyntaxError:
a = [ 1, 'cat', 3.14159265 ]
This has been documented within Programming Ruby (The Pragmatic Programmer's Guide), available online at http://www.ruby-doc.org/docs/ProgrammingRuby/.
Unfortunately no page number is available on the online document.