Class: Rule::Disallow

Inherits:
Base
  • Object
show all
Defined in:
lib/rule/disallow.rb

Instance Attribute Summary

Attributes inherited from Base

#object

Instance Method Summary collapse

Methods inherited from Base

#add_error, #initialize, #pass?

Methods included from Assertions

#assert, #assert_absence_of, #assert_presence_of

Constructor Details

This class inherits a constructor from Rule::Base

Instance Method Details

#validateObject



3
4
5
# File 'lib/rule/disallow.rb', line 3

def validate
  return false
end