Sha256: d820c266842257c8557b25051718e6dc4179341e0c4057047595082252c69a26
Contents?: true
Size: 276 Bytes
Versions: 12
Compression:
Stored size: 276 Bytes
Contents
module Lokalise module Utils module EndpointHelpers def path_from(raw_mapping) template = Addressable::Template.new '{/segments*}' template.expand( segments: raw_mapping.to_a.flatten ).to_s end end end end
Version data entries
12 entries across 12 versions & 1 rubygems