Sha256: f40660d489cf864c823c86e402d96553aceecdca3f4626faf5fe7d4176198296
Contents?: true
Size: 654 Bytes
Versions: 1
Compression:
Stored size: 654 Bytes
Contents
module ContentState class Base include Reloadable class << self def instance nil end protected :new end def memento self.class.to_s end def before_save(content) serialize_on(content) true end def published? false end def just_published? false end def draft? false end def publication_pending? false end def after_save(content) true end def post_trigger(content) true end def send_notifications(content) true end def send_pings(content) true end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
typo-4.0.0 | app/models/content_state/base.rb |