module NotifyPush::Utility
MODULE->UTILITY ——————————
Public Class Methods
require_system_command_or_raise(command)
click to toggle source
# File lib/notify-push.rb, line 61 def self.require_system_command_or_raise(command) system "command -v #{command} >/dev/null 2>&1" or raise "The command '#{command}' cannot be found and is required." end