Hi all,
I've been playing with jruby for a while now, but there's one thing
that's stopped me using it more.
I'd like to wrap (a particular) java library to make it more ruby-ish
(-esque?), e.g. make things enumerable etc. However this is impractical
currently since the library is interface orien
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Charles O Nutter wrote:
> As a follow-up to Tom's undesired side-effect, would you expect this to work:
>
> include_class 'java.util.ArrayList'
> a = ArrayList.new
> include_class 'java.util.List'
> class List
> def something
> end
> end
> a.somet
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Charles O Nutter wrote:
> I've set up a backup anonymous CVS site on headius.com that will update
> nightly with the repository dumps from sf.net.
>
> :pserver:[EMAIL PROTECTED]:/var/cvs/jruby
>
> Please let me know if you have any issues accessing i
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Charles O Nutter wrote:
> Give it another try; I had it set to only allow connections from a few
> hosts I regularly connect from.
Works a treat. Take that, sourceforge :-)
Cheers,
Damian
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Just tripped over this one. Using current cvs.
jruby:
irb(main):001:0> class Fun < Proc
irb(main):002:1> end
=> nil
irb(main):003:0> Fun.new {|a| p a}
=> #
Oops. That should be a Fun, not a Proc.
Damian
-BEGIN PGP SIGNATURE-
Version: GnuPG
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thomas E Enebo wrote:
> I fixed this. It is a one-liner and fairly obvious (if it would have
> been any more difficult I would have held off until 0.9.1).
>
> -Tom
Thanks, that seems to have done the trick. And sourceforge public cvs
updated quick