Method: APDM::Saxo::IPTC#initialize
- Defined in:
- lib/apdm/saxo/iptc.rb
#initialize(name, path, options = {}) ⇒ IPTC
Returns a new instance of IPTC.
6 7 8 9 10 11 12 |
# File 'lib/apdm/saxo/iptc.rb', line 6 def initialize(name, path, = {}) self.source = [:source] self.name = name self.path = path self.file = "#{path.chomp('/')}/#{name}" duplicate [:file] if [:file] end |