Ruby Inspect method - .inspect

Ruby Inspect Method (.inspect) or p

Inspect is a way of looking into an object and seeing everything that’s there, like its ID, and any attributes.

p is a shortcut inspect method.  Just think of the ‚p‘ in insPect.

| Back

Footerfull