How to check the accessibility id via appium ruby console?

Hi,

appium_console == v2.7.1
appium_lib == v9.7.5

Working with IOS app.

I’d like to know which pry command will print the accessibility id of the element its accessibility id can be found by the inspector appium desktop?

Thanks.