Sha256: 2c310abf9945e2e018c7d493eb1138d24a4eda00c946b4cee7a94bd099dfc7cd
Contents?: true
Size: 352 Bytes
Versions: 3
Compression:
Stored size: 352 Bytes
Contents
module Absa module Esd module Transmission class Document < Set def self.from_s(string) options = self.hash_from_s(string) self.build(options[:data]) end def from_file!(filename) self.from_s(File.open(filename, "rb").read) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
absa-esd-0.0.3 | lib/absa-esd/transmission/document.rb |
absa-esd-0.0.2 | lib/absa-esd/transmission/document.rb |
absa-esd-0.0.1 | lib/absa-esd/transmission/document.rb |