Sha256: 47ddfa90d78cf13b1af28a03608dfd797380554cbce5e41db6c22c7b0837d3d3
Contents?: true
Size: 342 Bytes
Versions: 3
Compression:
Stored size: 342 Bytes
Contents
# frozen_string_literal: true module Lograge module Formatters module Helpers module MethodAndPath def method_and_path_string(data) method_and_path = [data[:method], data[:path]].compact method_and_path.any?(&:present?) ? " #{method_and_path.join(' ')} " : ' ' end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems