Sha256: f0f4d28e70bb242a4e84cb9184d97c4e6660db4a0c38c7ee06d99cee49a308b1
Contents?: true
Size: 170 Bytes
Versions: 25
Compression:
Stored size: 170 Bytes
Contents
# frozen_string_literal: true # Converts string into boolean class BoolConverter def convert(string) return nil if string == 'nil' string == 'true' end end
Version data entries
25 entries across 25 versions & 1 rubygems