I was trying to list the all the class names having the pattern `stri`
with the below:

p ObjectSpace.each_object(Class).to_a.grep(/(stri)/i) #=> []

But not getting the output. So can anyone help me on the same?

Thanks

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to