Class Virtus::Attribute::DefaultValue::FromSymbol
In: lib/virtus/attribute/default_value/from_symbol.rb
Parent: DefaultValue

Represents default value evaluated via a symbol

@api private

Methods

call   handle?  

Public Class methods

Return if the class can handle the value

@param [Object] value

@return [Boolean]

@api private

Public Instance methods

Evaluates the value via instance#public_send(value)

Symbol value is returned if the instance doesn‘t respond to value

@return [Object] evaluated value

@api private

[Validate]