Class: T::Props::Private::ApplyPrimitiveDefault

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 collapse

Attributes inherited from ApplyDefault

#setter_proc

Method Summary

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 Attribute Details

#defaultObject (readonly)

Returns the value of attribute default.



92
93
94
# File 'lib/types/props/private/apply_default.rb', line 92

def default
  @default
end