Sha256: de4e94cb7c3049b18f9f53079563de018610d836a4f04a1df8eb26c703c0327e
Contents?: true
Size: 317 Bytes
Versions: 2
Compression:
Stored size: 317 Bytes
Contents
module RokuPackager module GenkeyOutput def parse(output) dev_id, password = nil, nil if (match = /Password: (\S*)/.match(output)) password = match[1] end if (match = /DevID: (\S*)/.match(output)) dev_id = match[1] end [dev_id, password] end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
roku-packager-0.0.3 | lib/roku-packager/genkey_output.rb |
roku-packager-0.0.1 | lib/roku-packager/genkey_output.rb |