Module: Card::Set::Abstract::WqlSearch::Format
- Extended by:
- Card::Set::AbstractFormat
- Defined in:
- tmpsets/set/mod020-search/abstract/wql_search.rb
Instance Method Summary collapse
- #card_content_limit ⇒ Object
- #default_limit ⇒ Object
- #item_view_from_query ⇒ Object
- #limit ⇒ Object
- #query_with_params ⇒ Object
Instance Method Details
#card_content_limit ⇒ Object
95 96 97 98 99 |
# File 'tmpsets/set/mod020-search/abstract/wql_search.rb', line 95 def card_content_limit card.wql_hash[:limit] rescue nil end |
#default_limit ⇒ Object
91 92 93 |
# File 'tmpsets/set/mod020-search/abstract/wql_search.rb', line 91 def default_limit card_content_limit || super end |
#item_view_from_query ⇒ Object
101 102 103 |
# File 'tmpsets/set/mod020-search/abstract/wql_search.rb', line 101 def item_view_from_query query_with_params.statement[:item] end |
#limit ⇒ Object
109 110 111 |
# File 'tmpsets/set/mod020-search/abstract/wql_search.rb', line 109 def limit query_with_params.limit end |
#query_with_params ⇒ Object
105 106 107 |
# File 'tmpsets/set/mod020-search/abstract/wql_search.rb', line 105 def query_with_params @query_with_params ||= card.fetch_query search_params end |