Method: SmartCore::Initializer::Settings::TypeSystem#resolve

Defined in:
lib/smart_core/initializer/settings/type_system.rb

#resolveSymbol

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Symbol)

Since:

  • 0.1.0

Version:

  • 0.10.0



23
24
25
26
27
# File 'lib/smart_core/initializer/settings/type_system.rb', line 23

def resolve
  @lock.read_sync do
    (@value == nil) ? SmartCore::Initializer::Configuration[:default_type_system] : @value
  end
end