Sha256: 8f502d1eaeae536a266b84040bd73a35eab226eb9e6845a41e319652977fa3e2
Contents?: true
Size: 471 Bytes
Versions: 7
Compression:
Stored size: 471 Bytes
Contents
# frozen_string_literal: true require "dry/monads" require "pathname" require "refinements/hash" module Milestoner module Configuration module Transformers # Ensures build root is expanded. module Build using Refinements::Hash Root = lambda do |content, key = :build_root| content.transform_with! key => -> value { Pathname(value).expand_path } Dry::Monads::Success content end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems