如何使用Watir获取元素自定义属性的值

Žel*_*pin 10 html internet-explorer watir

我有这样的HTML:

<input custom_attribute="so cool" type="text" />
Run Code Online (Sandbox Code Playgroud)

我想获得custom_attribute使用Watir的价值.