Sha256: c0236eb4dba87e14d25b4598e96779fe9fdcb976b9d900f2a465ce31dd98a898
Contents?: true
Size: 327 Bytes
Versions: 7
Compression:
Stored size: 327 Bytes
Contents
# frozen_striing_literal: true module Stepmod module Utils module Parsers module Types class StringWithoutIndent < Shale::Type::Value def self.cast(value) return unless value value.split("\n").map(&:strip).join("\n") end end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems