> with 1.9.x
>
>>> =A0File.dirname(__FILE__).frozen?
> =3D> false
>>> =A0File.basename(__FILE__).frozen?
> =3D> true
>
> It's frozen for basename and not dirname?
> =3Dr

Thank you Nobu for fixing.
=3Dr