Class: Specinfra::Command::Debian::Base::Port
- Inherits:
-
Linux::Base::Port
- Object
- Linux::Base::Port
- Specinfra::Command::Debian::Base::Port
- Defined in:
- lib/specinfra/command/debian/base/port.rb
Direct Known Subclasses
Class Method Summary collapse
Class Method Details
.create(os_info = nil) ⇒ Object
3 4 5 6 7 8 9 10 |
# File 'lib/specinfra/command/debian/base/port.rb', line 3 def create(os_info=nil) release = (os_info || os)[:release] if ["testing", "unstable"].include?(release) || release.to_i >= 8 Specinfra::Command::Debian::V8::Port else self end end |