Class: Forms::Validations::Introspector::Null

Inherits:
Object
  • Object
show all
Defined in:
lib/forms/validations/introspector.rb

Overview

No-op introspector returned for nil / non-AR models.

Instance Method Summary collapse

Instance Method Details

#data_attributes_for(_attribute) ⇒ Object



218
219
220
# File 'lib/forms/validations/introspector.rb', line 218

def data_attributes_for(_attribute)
  {}
end