Module: DataMapper::Is::Published::InstanceMethods
- Defined in:
- lib/is/published.rb
Overview
ClassMethods
Instance Method Summary collapse
-
#publishable? ⇒ Boolean
Ensuring all models using this plugin responds to publishable? with true.
Instance Method Details
#publishable? ⇒ Boolean
Ensuring all models using this plugin responds to publishable? with true.
Examples
@published_model.publishable? => true
251 252 253 |
# File 'lib/is/published.rb', line 251 def publishable? true end |