Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

One Liner To List Query Methods For An Object

DZone's Guide to

One Liner To List Query Methods For An Object

·
Free Resource
// List query methods for an object


puts Object.methods.sort.join("\n").grep(/\?/)
Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}