# File lib/virtus/configuration.rb, line 32 def initialize(options={}) @finalize = options.fetch(:finalize, true) @coerce = options.fetch(:coerce, true) @strict = options.fetch(:strict, false) @nullify_blank = options.fetch(:nullify_blank, false) @required = options.fetch(:required, true) @constructor = options.fetch(:constructor, true) @mass_assignment = options.fetch(:mass_assignment, true) @coercer = Coercible::Coercer.new yield self if block_given? end