Class: SmartCore::Initializer::TypeSystem::SmartTypes::Operation::Valid Private

Inherits:
Base show all
Defined in:
lib/smart_core/initializer/type_system/smart_types/operation/valid.rb

Overview

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

Since:

  • 0.1.0

Instance Method Summary collapse

Methods inherited from Interop::Operation

#initialize

Constructor Details

This class inherits a constructor from SmartCore::Initializer::TypeSystem::Interop::Operation

Instance Method Details

#call(value) ⇒ Boolean

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.

Parameters:

  • value (Any)

Returns:

  • (Boolean)

Since:

  • 0.1.0



12
13
14
# File 'lib/smart_core/initializer/type_system/smart_types/operation/valid.rb', line 12

def call(value)
  type.valid?(value)
end