Module: DataMapper::Is::Published::ResourceInstanceMethods

Defined in:
lib/is/published.rb

Overview

InstanceMethods

Instance Method Summary collapse

Instance Method Details

#publishable?Boolean

Ensuring all models NOT using this plugin responds to publishable? with false.

Examples

@unpublished_model.publishable?  =>  false

Returns:

  • (Boolean)


267
268
269
# File 'lib/is/published.rb', line 267

def publishable?
  false
end