Class: T::Props::Private::ApplyComplexDefault

Inherits:
ApplyFixedDefault show all
Defined in:
lib/types/props/private/apply_default.rb

Constant Summary

Constants inherited from ApplyDefault

T::Props::Private::ApplyDefault::NO_CLONE_TYPES

Constants included from Helpers

Helpers::Private

Instance Attribute Summary

Attributes inherited from ApplyDefault

#setter_proc

Instance Method Summary collapse

Methods inherited from ApplyFixedDefault

#initialize, #set_default

Methods inherited from ApplyDefault

for, #initialize, #set_default

Methods included from Sig

#sig

Methods included from Helpers

#abstract!, #final!, #interface!, #mixes_in_class_methods, #requires_ancestor, #sealed!

Constructor Details

This class inherits a constructor from T::Props::Private::ApplyFixedDefault

Instance Method Details

#defaultObject



98
99
100
# File 'lib/types/props/private/apply_default.rb', line 98

def default
  T::Props::Utils.deep_clone_object(@default)
end