Module: Avo::Fields::Concerns::HasDefault
- Extended by:
- ActiveSupport::Concern
- Included in:
- BaseField
- Defined in:
- lib/avo/fields/concerns/has_default.rb
Instance Method Summary collapse
Instance Method Details
#computed_default_value ⇒ Object
7 8 9 |
# File 'lib/avo/fields/concerns/has_default.rb', line 7 def computed_default_value Avo::ExecutionContext.new(target: default, record: record, view: view, resource: resource).handle end |