------extPart_000_42B2_01CCC5FD.75E4FA00
Content-Type: text/plain;
	charsetso-8859-1"
Content-Transfer-Encoding: quoted-printable

 
 
Da: Intransition [mailto:transfire / gmail.com] 
Inviato: luned14 novembre 2011 20:21
A: ruby-talk ML; ruby-talk-google / googlegroups.com
Oggetto: Binding#self
 
Hi,
 
Need suggestions for a core-extension method name. Currently Ruby Facets
defines:
 
  class Binding
    def self
      eval('self')
    end
  end
 
Which has worked fine, but testing with Rubinus, it presents a problem.
Firstly, I learned I had to do:
 
    def self
      Kernel.eval('Rubinius::VariableScope.current.self', self)
    end
 
But it blows sky high as soon as it is defined. Changing the method name
fixes it.
 
Any suggestions for a good name?
 
 
 

 

 

 --

 Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f

 

 Sponsor:

 Conto Arancio al 4,20%. Zero spese e massima liberta', aprilo in due minuti!

 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=11919&d=29-12


------extPart_000_42B2_01CCC5FD.75E4FA00--