Module: DataMapper::Is::Published::ResourceInstanceMethods
- Defined in:
- lib/is/published.rb
Overview
InstanceMethods
Instance Method Summary collapse
-
#publishable? ⇒ Boolean
Ensuring all models NOT using this plugin responds to publishable? with false.
Instance Method Details
#publishable? ⇒ Boolean
Ensuring all models NOT using this plugin responds to publishable? with false.
Examples
@unpublished_model.publishable? => false
267 268 269 |
# File 'lib/is/published.rb', line 267 def publishable? false end |