Module: FDotErrors::ErrorsHelper
- Defined in:
- lib/f_dot_errors/errors_helper.rb
Instance Method Summary collapse
Instance Method Details
#errors(method) ⇒ Object
3 4 5 6 7 |
# File 'lib/f_dot_errors/errors_helper.rb', line 3 def errors(method) return unless object_has_errors?(method) FDotErrors.config.field_error_proc.call(object, method, @template) end |