class Avmtrf1::Openvpn::Config::Parser::Line

def blank_text?

def blank_text?
  text.blank?
end

def close_tag?

def close_tag?
  CLOSE_TAG_PATTERN.match?(text)
end

def open_tag?

def open_tag?
  OPEN_TAG_PATTERN.match?(text)
end

def simple_parts

def simple_parts
  ::Shellwords.split(text)
end

def tag_name

def tag_name
  if close_tag?
    CLOSE_TAG_PATTERN.if_match(text) { |m| m[1] }
  elsif open_tag?
    OPEN_TAG_PATTERN.if_match(text) { |m| m[1] }
  else
    raise "Unmapped branch in #{__method__}"
  end
end