class Hash
AXElements extensions to {Hash}.
Public Instance Methods
ax_pp()
click to toggle source
Format the hash for AXElements pretty printing.
@return [String]
# File lib/accessibility/qualifier.rb, line 149 def ax_pp return '' if empty? list = map { |k, v| case v when Hash "#{k}#{v.ax_pp}" else "#{k}: #{v.inspect}" end } "(#{list.join(', ')})" end