Sha256: fb51c6c388f6495e68154552764fa291abd28e2d03b175818569154b2eb298f6
Contents?: true
Size: 262 Bytes
Versions: 3
Compression:
Stored size: 262 Bytes
Contents
# # Prepares the variable name of a parameter or an option. # module Dry::Initializer::Dispatchers::PrepareIvar module_function def call(target:, **options) ivar = "@#{target}".delete("?").to_sym { target: target, ivar: ivar, **options } end end
Version data entries
3 entries across 3 versions & 1 rubygems