[prev in list] [next in list] [prev in thread] [next in thread]
List: ruby-talk
Subject: Re: Elegant way to rename a file with an user-supplied expression?
From: Alejandro Exojo <suy () badopi ! org>
Date: 2014-10-09 10:57:14
Message-ID: 201410091257.14420.suy () badopi ! org
[Download RAW message or body]
El Monday 06 October 2014, Ryan Davis escribió:
> On Oct 6, 2014, at 12:50, Alejandro Exojo <suy@badopi.org> wrote:
> > documentation is scarce about eval
>
> % ri Kernel.eval
That's exactly what I meant. That documentation points to Binding, which in
turn points to binding(). Is not necessarily an easy concepto to grasp,
specially if you are still beginning. I called that scarce. Maybe hard was a
better word, but I searched for non-trivial examples online I didn't found, so
that was my feeling.
--
Alex (a.k.a. suy) | GPG ID 0x0B8B0BC2
http://barnacity.net/ | http://disperso.net
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic