Sha256: 3b2a5020a8b661fcec41d18450bd73f217191345e13a9b6b28fd963024ee6607
Contents?: true
Size: 316 Bytes
Versions: 27
Compression:
Stored size: 316 Bytes
Contents
# frozen_string_literal: true module Bridgetown module CoreExt module Psych module SafeLoadFile def safe_load_file(filename, **kwargs) File.open(filename, "r:bom|utf-8") do |f| safe_load f, filename: filename, **kwargs end end end end end end
Version data entries
27 entries across 27 versions & 1 rubygems