Module: ForemanFogProxmox::Value

Defined in:
lib/foreman_fog_proxmox/value.rb

Overview

You should have received a copy of the GNU General Public License along with ForemanFogProxmox. If not, see <www.gnu.org/licenses/>.

Class Method Summary collapse

Class Method Details

.empty?(value) ⇒ Boolean

Returns:

  • (Boolean)


21
22
23
# File 'lib/foreman_fog_proxmox/value.rb', line 21

def self.empty?(value)
    value == nil || value == ""
end