Class: RubyGemsRequirementsSystem::Platform::SUSE
- Defined in:
- lib/rubygems-requirements-system/platform/suse.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Base
#default_system_packages, #initialize, #install, #valid_system_package?, #valid_system_repository?
Constructor Details
This class inherits a constructor from RubyGemsRequirementsSystem::Platform::Base
Class Method Details
Instance Method Details
#target?(platform) ⇒ Boolean
30 31 32 33 34 35 36 37 38 39 |
# File 'lib/rubygems-requirements-system/platform/suse.rb', line 30 def target?(platform) case platform when "suse" true when "fedora", "rhel", "redhat" true # Most packages have the same name with Fedora/RHEL's one else false end end |