Class: Kanrisuru::Core::Zypper::Parser::Base
- Inherits:
-
Object
- Object
- Kanrisuru::Core::Zypper::Parser::Base
- Defined in:
- lib/kanrisuru/core/zypper/parsers/base.rb
Direct Known Subclasses
Info, ListLocks, ListPatches, ListRepos, ListServices, ListUpdates, PatchCheck, Search
Class Method Summary collapse
Class Method Details
.extract_single_zypper_line(line) ⇒ Object
9 10 11 12 |
# File 'lib/kanrisuru/core/zypper/parsers/base.rb', line 9 def extract_single_zypper_line(line) values = line.split(': ', 2) values.length == 2 ? values[1] : '' end |