kit-contract edge

Runtime module
Kit::Contract::Services::Runtime
View Source

Namespace for runtime logic.


Link to this section Summary ⚠️ Private APIs are currently hidden.


Link to this section Class methods 3

TODO: add different categories of contracts that can be disabled by category

Returns:

  • (Boolean)
Link to this method

.instrument(args:, block: nil, target:, target_class:, method_name:, method_type:, aliased_name:, contracts_before_uid:, contracts_after_uid:)

View Source
Link to this method

.run_contracts!(contracts:, args:, error_context: {})

View Source