Sha256: 748b2104ad1bbd1b672f049928063e2ea4884ae5242586a974e2e34ec2f2357c
Contents?: true
Size: 379 Bytes
Versions: 1
Compression:
Stored size: 379 Bytes
Contents
require_relative './colon_record' module RubyGPG2 class ColonOutput def self.parse(records) new(records .strip .split("\n") .collect { |record| KeyListRecord.parse(record) }) end include Enumerable def initialize(records) @records = records end def each(&block) @records.each(&block) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby_gpg2-0.1.0.pre.3 | lib/ruby_gpg2/colon_output.rb |