class VpsbClient::Builders::IssueParser

Constants

REGEX

Attributes

os[R]

Public Class Methods

new() click to toggle source
# File lib/vpsb_client/builders/system_info_parser.rb, line 117
def initialize
  super('cat /etc/issue')
end

Public Instance Methods

parse() click to toggle source
# File lib/vpsb_client/builders/system_info_parser.rb, line 121
def parse
  matches = find_matches!(REGEX)
  @os = matches[:os]
end