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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: "Validates that the specified attribute is &quot;blank&quot; via the attribute's #blank? method."
- !ruby/struct:SM::Flow::P 
  body: "@note"
- !ruby/struct:SM::Flow::VERB 
  body: "  dm-core's support lib adds the #blank? method to many classes,\n"
- !ruby/struct:SM::Flow::P 
  body: "@see lib/dm-core/support/blank.rb (dm-core) for more information."
- !ruby/struct:SM::Flow::P 
  body: "@example [Usage]"
- !ruby/struct:SM::Flow::VERB 
  body: "  require 'dm-validations'\n\n  class Page\n    include DataMapper::Resource\n\n    property :unwanted_attribute, String\n    property :another_unwanted, String\n    property :yet_again, String\n\n    validates_absent :unwanted_attribute\n    validates_absent :another_unwanted, :yet_again\n\n    # a call to valid? will return false unless\n    # all three attributes are blank\n  end\n"
full_name: DataMapper::Validate::ValidatesAbsent#validates_absent
is_singleton: false
name: validates_absent
params: (*fields)
visibility: public
