Im just learning trough the “geting started with ruby”
i’m only on page Ruby.new and im stuck
here’s the thing, I’m using FreeRIDE to duplicate the examples
a = %w{ ant bee cat dog elk }
a[0] » “ant”
a[3] » “dog”
for the live of me i cant seem to use Alt+0187 (»)
what happen??
You don’t need to actually type in the “�”. In the code, that
convention is used to show you the output/value of the expression on
the left.
Thank you for helping me but please bear with me for a moment
could you give me an example?
I believe this is just showing you what data is stored in which slot in
the
array.
a[0] contains “ant”, etc.
mmm sorry for the misunderstanding
but what I meant is, why cant I enter [ » ] with the FreeRIDE
I tried pressing Alt+0187 in my keyboard and nothing happen
I believe this is just showing you what data is stored in which slot in
the
array.
a[0] contains “ant”, etc.
mmm sorry for the misunderstanding
but what I meant is, why cant I enter [ » ] with the FreeRIDE
I tried pressing Alt+0187 in my keyboard and nothing happen
You don’t need to enter that character. That character and anything
after it is not part of the actual sample code.