NAME

Linux::Info::Distribution::Custom::RedHat - a subclass of Linux::Info::Distribution::Custom

VERSION

version 2.14

DESCRIPTION

This class inherits and overrides the required modules from Linux::Info::Distribution::Custom::RedHat parent class.

It should be created automatically by the Linux::Info::DistributionFactory depending on the files availabity of the distribution where is being executed.

Based on the file format, new fields will be available on this instance, added to those provided by the parent class.

Check the methods to see what information is available.

METHODS

is_enterprise

Returns "true" (1) or "false" (0) depending if this distribution if a "Enterprise" class of RedHat.

get_type

Returns a string meaning the type of the running distribution, which can be "Server" or "Workstation".

get_codename

Returns a string of the distribution version "codename" or alias.

EXPORTS

Nothing.

AUTHOR

Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2015 by Alceu Rodrigues de Freitas Junior.

This is free software, licensed under:

The GNU General Public License, Version 3, June 2007