Repository - API - Source
runtime_attribute_checker
-checker definition (runtime attributes validator);SmartCore::Types::IncorrectRuntimeAttributesError
exception;SmartCore::Types::RuntimeAttributesUnsupportedError
excpetion;()
) which does not allow runtime attributes (for example: SmartCore::Types::Value::String
has
a runtime-based alias SmartCore::Types::Value::String()
which does not accept any attribute
(SmartCore::Types::Value::String('test')
will raise SmartCore::Types::RuntimeAttributesUnsupportedError
respectively));SmartCore::Types::Protocol
type category and new types:SmartCore::Types::Protocol::InstanceOf
(runtime-based type);SmartCore::Types::Variadic
type category and new types:SmartCore::Types::Variadic::Tuple
(runtime-based type);SmartCore::Types::Value
category:SmartCore::Types::Value::Set
(based on Set
type with a support for type casting);#is_a?/#kind_of?
before;Travis CI
(TODO: migrate to Github Actions
);#valid?(value)
method);.invariant(name)
and .invariant_chain(name)
;validate(value)
(with #errors
support based on invariant names);smart_engine
dependency (to ~> 0.7
) (need SmartCore::Engine::Atom
);