Sha256: 05ee17f07801d2b5e6038fe09f2e8ba183034ef3dadf79005fe03b0c6b5ce771

Contents?: true

Size: 208 Bytes

Versions: 9

Compression:

Stored size: 208 Bytes

Contents

assign_type :list

format :html do
end

def item_cards args={}
  left.setting_list(args[:setting_list] || :all).map(&method(:rule_item_card))
end

def rule_item_card setting
  left.fetch setting, new: {}
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
card-mod-rules-0.16.0 set/type_plus_right/set/setting.rb
card-mod-rules-0.15.6 set/type_plus_right/set/setting.rb
card-mod-rules-0.15.5 set/type_plus_right/set/setting.rb
card-mod-rules-0.15.4 set/type_plus_right/set/setting.rb
card-mod-rules-0.15.3 set/type_plus_right/set/setting.rb
card-mod-rules-0.15.2.pre1 set/type_plus_right/set/setting.rb
card-mod-rules-0.15.1.1 set/type_plus_right/set/setting.rb
card-mod-rules-0.15.1 set/type_plus_right/set/setting.rb
card-mod-rules-0.15.0 set/type_plus_right/set/setting.rb