Module: SorbetOperation
- Extended by:
- T::Sig
- Defined in:
- lib/sorbet_operation.rb,
lib/sorbet_operation/base.rb,
lib/sorbet_operation/result.rb,
lib/sorbet_operation/failure.rb,
lib/sorbet_operation/version.rb
Overview
typed: strict frozen_string_literal: true
Defined Under Namespace
Classes: Base, Failure, Result
Constant Summary collapse
- VERSION =
"0.1.2"
Class Attribute Summary collapse
-
.default_logger ⇒ ::Logger
Returns the default logger used by operations.
Class Attribute Details
.default_logger ⇒ ::Logger
Returns the default logger used by operations.
17 18 19 |
# File 'lib/sorbet_operation.rb', line 17 def default_logger @default_logger ||= T.let(::Logger.new($stdout, level: ::Logger::INFO), T.nilable(::Logger)) end |