Sha256: a37e2d2e7bd68b34424148c123bda980d2498fd3c7a2ab73c6a459f76143527e
Contents?: true
Size: 368 Bytes
Versions: 1
Compression:
Stored size: 368 Bytes
Contents
module Ffprober class Chapter 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/chapter.rb |