Sha256: fdf82bd7e7098f0755c1130a2b9dd9bb14aa704be0009d5f0cd2876093385740
Contents?: true
Size: 818 Bytes
Versions: 18
Compression:
Stored size: 818 Bytes
Contents
# -*- encoding : utf-8 -*- class Card; module Set; module All; module States; extend Card::Set # ~~~~~~~~~~~ above autogenerated; below pulled from /Users/ethan/dev/wagn/gem/card/mod/01_core/set/all/states.rb ~~~~~~~~~~~ def new_card? new_record? || # not yet in db (from ActiveRecord) !!@from_trash # in process of restoration from trash, not yet "re-created" end alias_method :new?, :new_card? def known? real? || virtual? end def real? !new_card? end def unknown? !known? end def pristine? # has not been edited directly by human users. bleep blorp. new_card? or !actions.joins(:act).where('card_acts.actor_id != ?', Card::WagnBotID).exists? end # ~~~~~~~~~~~ below autogenerated; above pulled from /Users/ethan/dev/wagn/gem/card/mod/01_core/set/all/states.rb ~~~~~~~~~~~ end;end;end;end;
Version data entries
18 entries across 18 versions & 1 rubygems