Module: Card::Query::CardQuery::FoundBy

Included in:
Card::Query::CardQuery
Defined in:
lib/card/query/card_query/found_by.rb

Overview

nest independent query

Instance Method Summary collapse

Instance Method Details

#found_by(val) ⇒ Object



6
7
8
9
10
# File 'lib/card/query/card_query/found_by.rb', line 6

def found_by val
  found_by_cards(val).compact.each do |card|
    subquery found_by_subquery(card)
  end
end