Sha256: 03314062a494e7739f1f749dce8555fc680e325ed60c4a0f7204b7f8f219df57

Contents?: true

Size: 311 Bytes

Versions: 12

Compression:

Stored size: 311 Bytes

Contents

format :html do
  view :grouped_list do
    All::CardtypeGroups::GROUP.keys.map do |group|
      type_list = group == "Custom" ? custom_types : All::CardtypeGroups::GROUP[group]
      next if type_list.empty?

      [wrap_with(:h5, group), wrap_with(:p, listing(type_list))]
    end.flatten.join "\n"
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
card-mod-rules-0.18.1 set/self/cardtype.rb
card-mod-rules-0.18.0 set/self/cardtype.rb
card-mod-rules-0.17.0 set/self/cardtype.rb
card-mod-rules-0.16.0 set/self/cardtype.rb
card-mod-rules-0.15.6 set/self/cardtype.rb
card-mod-rules-0.15.5 set/self/cardtype.rb
card-mod-rules-0.15.4 set/self/cardtype.rb
card-mod-rules-0.15.3 set/self/cardtype.rb
card-mod-rules-0.15.2.pre1 set/self/cardtype.rb
card-mod-rules-0.15.1.1 set/self/cardtype.rb
card-mod-rules-0.15.1 set/self/cardtype.rb
card-mod-rules-0.15.0 set/self/cardtype.rb