Sha256: f79466dc74ee7cd0b0a0987f0dca4adeb92011142bfddca446f7e0ce1ed80abe
Contents?: true
Size: 480 Bytes
Versions: 11
Compression:
Stored size: 480 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 |attributes, key = :build_root| attributes.transform_with! key => -> value { Pathname(value).expand_path } Dry::Monads::Success attributes end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems