Sha256: 44c0e297f5e1165f3fdb8b2dd926da677cd39dd0aacdd825af695be3bb8beb77
Contents?: true
Size: 274 Bytes
Versions: 8
Compression:
Stored size: 274 Bytes
Contents
- if (keys = attr 'keys').size == 1 = html_tag('kbd', data_attrs(@attributes)) = keys.first - else = html_tag('span', { :class => ['keyseq'] }.merge(data_attrs(@attributes))) - keys.each_with_index do |key, idx| - unless idx.zero? |+ kbd=key
Version data entries
8 entries across 8 versions & 1 rubygems