Module: Card::Set::All::Event
- Extended by:
- Card::Set
- Defined in:
- tmpsets/set/mod002-core/all/event.rb
Constant Summary collapse
- EVENT_CONDITIONS =
~~ above autogenerated; below pulled from /Users/ethan/dev/wagn/gem/card/mod/core/set/all/event.rb ~~
[:set, :on, :changed, :when].freeze
Constants included from Format
Instance Method Summary collapse
Methods included from I18nScope
Methods included from Loader
#clean_empty_module_from_hash, #clean_empty_modules, #extended, #process_base_modules, #register_set
Methods included from Helpers
#abstract_set?, #all_set?, #num_set_parts, #shortname
Methods included from Card::Set::AdvancedApi
#attachment, #ensure_set, #stage_method
Methods included from Format
#all_set_format_mod!, #define_on_format, #format, #register_set_format, #view
Methods included from Inheritance
#include_set, #include_set_formats
Methods included from Basket
#abstract_basket, #add_to_basket, #basket
Methods included from Trait
#card_accessor, #card_reader, #card_writer
Methods included from Event
Instance Method Details
#event_applies?(opts) ⇒ Boolean
6 7 8 9 10 |
# File 'tmpsets/set/mod002-core/all/event.rb', line 6 def event_applies? opts EVENT_CONDITIONS.all? do |key| send "#{key}_condition_applies?", opts[key] end end |