Sha256: 65f112a2acff49c80fee93dfc47a92035dc0ad718d6102028a9ea25d85bb9697

Contents?: true

Size: 248 Bytes

Versions: 1

Compression:

Stored size: 248 Bytes

Contents

# frozen_string_literal: true

module Secretmgr
  class Util
    class << self
      def nil_or_dontexist?(pathn)
        pathn.nil? || !pathn.exist?
      end

      def nil_or_zero?(str)
        str.nil? || str.empty?
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
secretmgr-0.2.0 lib/secretmgr/util.rb