On Wed, Feb 20, 2008 at 8:09 AM, 7stud -- <bbxx789_05ss / yahoo.com> wrote:
> Christopher Dicely wrote:
>  > The documentation is incorrect.
>  >
>  > irb(main):049:0> VERSION
>  > => "1.8.6"
>  > irb(main):050:0> File.basename("C:\\home\\gumby\\work\\ruby.rb")
>  > => "ruby.rb"
>  >
>
>
>  irb(main):001:0> VERSION
>  => "1.8.6"
>  irb(main):002:0> File.basename("C:\\home\\gumby\\work\\ruby.rb")
>  => "C:\\home\\gumby\\work\\ruby.rb"
>  irb(main):003:0>
>
>

I am on Windows XP:

irb(main):001:0> File.basename("C:\\home\\gumby\\work\\ruby.rb")
=> "ruby.rb"
irb(main):002:0> VERSION
=> "1.8.6"