list_methods
🔍 Listing Available Methods
To see what methods an object responds to, call methods
on it. This is handy to discover available operations at a glance:
irb(main):001:0> "hello".methods
You’ll get an array of all public methods you can call on the string.