Sha256: 6d2ff13c529ab3aa48ffcf8c39fa5e35db1b0d5e0c0dabaf3591c1fd1b0859a4
Contents?: true
Size: 379 Bytes
Versions: 16
Compression:
Stored size: 379 Bytes
Contents
# frozen_string_literal: true def wxrb_require erb('wxrb_require') end def wxruby_requires object.tags(:wxrb_require).inject([]) do |list, tag| tag.text.split(',').each do |feature| list << feature.split('|').collect do |s| s.split('&').collect { |ss| %Q[<span class="wxrb-require">#{ss.strip}</span>] }.join('&') end end list end end
Version data entries
16 entries across 16 versions & 2 rubygems