Module: Card::Set::Type::Setting::DataFormat

Extended by:
AbstractFormat
Defined in:
platypus/tmp/set/gem-defaults/mod010-rules/type/setting.rb

Instance Method Summary collapse

Instance Method Details

#view: coreObject



11
12
13
14
15
16
# File 'platypus/tmp/set/gem-defaults/mod010-rules/type/setting.rb', line 11

view :core do
  cql = { left: { type: SetID },
          right: card.id,
          limit: 0 }
  Card.search(cql).compact.map { |c| nest c }
end