Sha256: 6cd00205c524cf9b1e3f964a19bf2b90ed4b17fb2123a5b613b632214d5aeb80
Contents?: true
Size: 308 Bytes
Versions: 1
Compression:
Stored size: 308 Bytes
Contents
module Antrapol module MyToolRack module ConditionUtils def is_empty?(obj) if obj.nil? true elsif obj.respond_to?(:empty?) obj.empty? else false end end # is_empty? end # ConditionUtils end # MyToolRack end # Antrapol
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
toolrack-0.1.0 | lib/toolrack/condition_utils.rb |