Sha256: 2f9999f2710e87bac80c388c4c0e3099b356e860e35d12732c005d777eac4bab

Contents?: true

Size: 839 Bytes

Versions: 8

Compression:

Stored size: 839 Bytes

Contents

# -*- encoding : utf-8 -*-
class Card; module Set; class Rule
# Set: All rule cards (HtmlViews)
#
module HtmlViews;
extend Card::Set
def self.source_location; "/Users/ethan/dev/decko/gem/card-mod-rules/set/rule/html_views.rb"; end
module HtmlFormat; module_parent.send :register_set_format, Card::Format::HtmlFormat, self; extend Card::Set::AbstractFormat
  view :core do
    # Rule cards that are searches are usual right structures and refer to the left
    # in the search query. In that case the search doesn't work
    # properly in the context of the rule card itself.  Hence we show the query syntax
    # and not the search result.
    if card.type_id == SearchTypeID
      render_raw
    else
      super()
    end
  end
end
end;end;end;end;
# ~~ generated from /Users/ethan/dev/decko/gem/card-mod-rules/set/rule/html_views.rb ~~

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
card-1.101.7 tmpsets/set/mod037-card-mod-rules/rule/html_views.rb
card-1.101.6 tmpsets/set/mod037-card-mod-rules/rule/html_views.rb
card-1.101.5 tmpsets/set/mod036-card-mod-rules/rule/html_views.rb
card-1.101.4 tmpsets/set/mod036-card-mod-rules/rule/html_views.rb
card-1.101.3 tmpsets/set/mod036-card-mod-rules/rule/html_views.rb
card-1.101.2 tmpsets/set/mod036-card-mod-rules/rule/html_views.rb
card-1.101.1 tmpsets/set/mod036-card-mod-rules/rule/html_views.rb
card-1.101.0 tmpsets/set/mod036-card-mod-rules/rule/html_views.rb