From: Ryan Davis Date: 2012-01-15T17:57:34+09:00 Subject: Re: Case menu - obtain the first conditions? On Jan 14, 2012, at 22:36 , Marc Heiler wrote: > In other words I would need a way to programmatically access the > first option of every when clause. Or a way to programmatically access your methods: self.methods # => ["list_cars", "list_whatever", "list_plants", ...] A better way would probably be: self.class.public_instance_methods(false)