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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Test the resource field for validity
- !ruby/struct:SM::Flow::P 
  body: "@example when the resource field is valid"
- !ruby/struct:SM::Flow::VERB 
  body: "  validator.call(valid_resource)  # =&gt; true\n"
- !ruby/struct:SM::Flow::P 
  body: "@example when the resource field is not valid"
- !ruby/struct:SM::Flow::VERB 
  body: "  validator.call(invalid_resource)  # =&gt; false\n"
- !ruby/struct:SM::Flow::P 
  body: "@param [Resource] target"
- !ruby/struct:SM::Flow::VERB 
  body: "  the Resource to test\n"
- !ruby/struct:SM::Flow::P 
  body: "@return [Boolean]"
- !ruby/struct:SM::Flow::VERB 
  body: "  true if the field is valid, false if not\n"
- !ruby/struct:SM::Flow::P 
  body: "@api semipublic"
full_name: DataMapper::Validate::LengthValidator#call
is_singleton: false
name: call
params: (target)
visibility: public
