Sha256: bf2bed47b2d2db47f9f2d454980afb06837a3ea42af465298007d245c97b025a
Contents?: true
Size: 219 Bytes
Versions: 18
Compression:
Stored size: 219 Bytes
Contents
# frozen_string_literal: true module Renalware module BooleanHelper def yes_no(bool) bool ? "Yes" : "No" end def yes_no_if_set(bool) return if bool.nil? yes_no(bool) end end end
Version data entries
18 entries across 18 versions & 1 rubygems