Over a million developers have joined DZone.

One Liner To List Query Methods For An Object

·
// List query methods for an object


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

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

{{ parent.tldr }}

{{ parent.urlSource.name }}