Class: Hatch::InvalidAttribute

Inherits:
ValidatedAttribute show all
Defined in:
lib/hatch.rb

Instance Attribute Summary

Attributes inherited from ValidatedAttribute

#attribute, #error, #value

Instance Method Summary collapse

Methods inherited from ValidatedAttribute

#initialize, validate

Constructor Details

This class inherits a constructor from Hatch::ValidatedAttribute

Instance Method Details

#invalid?Boolean

Returns:

  • (Boolean)


136
137
138
# File 'lib/hatch.rb', line 136

def invalid?
  true
end

#valid?Boolean

Returns:

  • (Boolean)


132
133
134
# File 'lib/hatch.rb', line 132

def valid?
  false
end