Module: DataMapper::Is::Published::InstanceMethods

Defined in:
lib/is/published.rb

Overview

ClassMethods

Instance Method Summary collapse

Instance Method Details

#publishable?Boolean

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

Examples

@published_model.publishable?  =>  true

Returns:

  • (Boolean)


251
252
253
# File 'lib/is/published.rb', line 251

def publishable?
  true
end