module Ruster::Util
Public Instance Methods
parse_info(info)
click to toggle source
# File lib/ruster/util.rb, line 2 def parse_info(info) {}.tap do |data| info.split("\r\n").each do |line| next if line[0] == "#" key, val = line.split(":") data[key.to_sym] = val end end end