Sha256: 6ea602ab6d36061335981748a36389afd261a11ae3cb1fa915b533b2f92da1e1
Contents?: true
Size: 276 Bytes
Versions: 14
Compression:
Stored size: 276 Bytes
Contents
module Pkg class ConfigValidations class << self # As a validation, this one is kindof lame but is intended as a seed pattern for possibly # more robust ones. def not_empty?(value) value.to_s.empty? ? false : true end end end end
Version data entries
14 entries across 14 versions & 1 rubygems