--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: "A common interface to activate plugins for a resource. For instance:"
- !ruby/struct:SM::Flow::P 
  body: class Widget
- !ruby/struct:SM::Flow::VERB 
  body: "  include DataMapper::Resource\n\n  is :list\n"
- !ruby/struct:SM::Flow::P 
  body: end
- !ruby/struct:SM::Flow::P 
  body: adds list item behavior to the model. Plugin that wants to conform to &quot;is API&quot; of DataMapper must supply is_+behavior name+ method, for example above it would be is_list.
- !ruby/struct:SM::Flow::P 
  body: "@api public"
full_name: DataMapper::Model::Is#is
is_singleton: false
name: is
params: (plugin, *args, &block)
visibility: public
