Module: Card::Set::All::States::ClassMethods
- Defined in:
- platypus/tmp/set/gem-card/mod001-core/all/states.rb
Overview
- new (or unreal) cards are either unknown or virtual
Instance Method Summary collapse
-
#known?(mark) ⇒ Boolean
-
#real?(mark) ⇒ Boolean
(also: #exist?, #exists?)
Instance Method Details
#known?(mark) ⇒ Boolean
30 31 32 |
# File 'platypus/tmp/set/gem-card/mod001-core/all/states.rb', line 30 def known? mark fetch(mark).present? end |
#real?(mark) ⇒ Boolean Also known as: exist?, exists?
24 25 26 |
# File 'platypus/tmp/set/gem-card/mod001-core/all/states.rb', line 24 def real? mark quick_fetch(mark).present? end |