module GitWand::CLI::Utils

Public Class Methods

blank?(*list) click to toggle source
# File lib/git_wand/cli/utils.rb, line 5
def self.blank?(*list)
  list.all? do |value|
    value == nil || value == ""
  end
end
present?(*list) click to toggle source
# File lib/git_wand/cli/utils.rb, line 11
def self.present?(*list)
  list.all? do |value|
    value != nil && value != ""
  end
end