module Net::Openvpn::Generators::Keys::Properties
def yaml
Returns the properties loaded from a YAML file
def yaml return {} unless File.exist? Openvpn.basepath "props.yml" YAML.load(File.read(Openvpn.basepath "props.yml")) end
def yaml return {} unless File.exist? Openvpn.basepath "props.yml" YAML.load(File.read(Openvpn.basepath "props.yml")) end