Sha256: 162d08d42f13055a9ebc75784d7afdd62563193abba6ec77527ba68e944bffa6
Contents?: true
Size: 443 Bytes
Versions: 7
Compression:
Stored size: 443 Bytes
Contents
attr_writer :director delegate :stage, to: :director def director @director ||= Card::DirectorRegister.fetch self end def identify_action @action = case when trash then :delete when new_card? then :create else :update end end def current_act= act raise Card::Error, 'not allowed to override current act' if Card.current_act Card.current_act = act end def current_act @current_act ||= Card.current_act end
Version data entries
7 entries across 7 versions & 1 rubygems