Sha256: 358e70dc78fccade231061542715f3be30e0c9003b36a6d151664747052e4efc
Contents?: true
Size: 367 Bytes
Versions: 1
Compression:
Stored size: 367 Bytes
Contents
module Ffprober class Format def initialize(object_attribute_hash) object_attribute_hash.each do |key, value| instance_variable_set("@#{key}", value) unless self.class.method_defined?(key) self.class.send(:define_method, key) do instance_variable_get("@#{key}") end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ffprober-0.4.0 | lib/ffprober/format.rb |