Sha256: 91d67557e67316737ea13217b2a20980ee9ed996f639586153b1f213172014c0
Contents?: true
Size: 453 Bytes
Versions: 3
Compression:
Stored size: 453 Bytes
Contents
# typed: strict # frozen_string_literal: true module Paseto module Configuration extend T::Sig sig { params(blk: T.proc.params(config: Paseto::Configuration::Box).void).void } def configure(&blk) # rubocop:disable Lint/UnusedMethodArgument yield(config) end sig { returns(Paseto::Configuration::Box) } def config @config ||= T.let(Configuration::Box.new, T.nilable(Paseto::Configuration::Box)) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ruby-paseto-0.1.2 | lib/paseto/configuration.rb |
ruby-paseto-0.1.1 | lib/paseto/configuration.rb |
ruby-paseto-0.1.0 | lib/paseto/configuration.rb |