Sha256: b7749ecd4493ff7a178e3479677be61fe66f58673a52d4b3bf2a766ee47962d9

Contents?: true

Size: 833 Bytes

Versions: 1

Compression:

Stored size: 833 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/ezl5238/dev/decko/gem/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/ezl5238/dev/decko/gem/mod/rules/set/rule/html_views.rb ~~

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
card-1.102.0 tmpsets/set/mod037-rules/rule/html_views.rb