Sha256: a6bab638a5dcd91fd3b62548866334b37693399eeb3d4645f9abbfeeea0eb6f8
Contents?: true
Size: 455 Bytes
Versions: 13
Compression:
Stored size: 455 Bytes
Contents
attr_writer :director delegate :act_manager, to: :director def director @director ||= Card::ActManager.fetch self end def identify_action @action = if trash && trash_changed? :delete elsif new_card? :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
13 entries across 13 versions & 1 rubygems