R
RichardSchollar
I have only just started using Ruby (and am a total noob, in case this
wasn't obvious ;-)) and was wondering if I type the following into irb
(for instance) I don't see the "include" method listed:
Array.methods
Nor do I see the "each" method listed so I assume this is by design
rather than being an omission.
Would someone be so kind as to enlighten me why this is the case?
Many thanks.
Richard
wasn't obvious ;-)) and was wondering if I type the following into irb
(for instance) I don't see the "include" method listed:
Array.methods
Nor do I see the "each" method listed so I assume this is by design
rather than being an omission.
Would someone be so kind as to enlighten me why this is the case?
Many thanks.
Richard