On May 10, 2006, at 12:15 AM, corey konrad wrote:
another code example from my book doesnt work with the ruby
parts = (“Part A” … “Part G”)
parts.length #?> 7
that spits out a error that says it doesnt recognize the length
Range#length was removed between 1.6.8 and 1.8.mumble.
I realize this question is pretty simple but i am a begining
I am really enjoying the response time in this forum, i usually get a
response in about 5 minutes any time of day
Try using ri.
$ ri Range
==, ===, begin, each, end, eql?, exclude_end?, first, hash,
include?, inspect, last, member?, step, to_s
Eric H. - firstname.lastname@example.org - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant