Sha256: 56ab57bac025f13c646b8a68441aa13367054c8df37119ad17dcfec25fd36295

Contents?: true

Size: 364 Bytes

Versions: 9

Compression:

Stored size: 364 Bytes

Contents

# LinuxAdmin Abstract Package Representation
#
# Copyright (C) 2013 Red Hat Inc.
# Licensed under the MIT License

class LinuxAdmin
  class Package < LinuxAdmin
    def self.info(pkg)
      if Distro.local == Distros.redhat
        return Rpm.info(pkg)
      elsif Distro.local == Distros.ubuntu
        return Deb.info(pkg)
      end

      nil
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
linux_admin-0.8.0 lib/linux_admin/package.rb
linux_admin-0.7.0 lib/linux_admin/package.rb
linux_admin-0.6.0 lib/linux_admin/package.rb
linux_admin-0.5.7 lib/linux_admin/package.rb
linux_admin-0.5.6 lib/linux_admin/package.rb
linux_admin-0.5.5 lib/linux_admin/package.rb
linux_admin-0.5.4 lib/linux_admin/package.rb
linux_admin-0.5.3 lib/linux_admin/package.rb
linux_admin-0.5.2 lib/linux_admin/package.rb