[#61822] Plan Developers Meeting Japan April 2014 — Zachary Scott <e@...>

I would like to request developers meeting around April 17 or 18 in this mo=

14 messages 2014/04/03
[#61825] Re: Plan Developers Meeting Japan April 2014 — Urabe Shyouhei <shyouhei@...> 2014/04/03

It's good if we have a meeting then.

[#61826] Re: Plan Developers Meeting Japan April 2014 — Zachary Scott <e@...> 2014/04/03

Regarding openssl issues, I=E2=80=99ve discussed possible meeting time with=

[#61833] Re: Plan Developers Meeting Japan April 2014 — Martin Bo煬et <martin.bosslet@...> 2014/04/03

Hi,

[ruby-core:62025] Re: Question about Ruby Arrays

From: Andrew Vit <andrew@...>
Date: 2014-04-14 18:11:20 UTC
List: ruby-core #62025
On 14-04-14, 10:06, Mohamed Dokmak wrote:
> I need ideas on implementing a hook that enables me to know when Ruby
> uses a method dispatch such as arr.reverse! and return the same
> reference to the object ?

Why not overload the method directly and call super?

```
class Array
   def reverse!
     $LOGGER.warn "called #{__method__} on #{self.inspect}"
     super
   end
end
```

I can't think of any way to select all of the ruby methods that return 
"self".

Andrew Vit

In This Thread