Module: MultiExiftool::Executable
Overview
Mixin for Reader and Writer.
Instance Attribute Summary collapse
-
#config ⇒ Object
Returns the value of attribute config.
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
-
#filenames ⇒ Object
Returns the value of attribute filenames.
-
#numerical ⇒ Object
Returns the value of attribute numerical.
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
Instance Attribute Details
#config ⇒ Object
Returns the value of attribute config.
12 13 14 |
# File 'lib/multi_exiftool/executable.rb', line 12 def config @config end |
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
11 12 13 |
# File 'lib/multi_exiftool/executable.rb', line 11 def errors @errors end |
#filenames ⇒ Object
Returns the value of attribute filenames.
12 13 14 |
# File 'lib/multi_exiftool/executable.rb', line 12 def filenames @filenames end |
#numerical ⇒ Object
Returns the value of attribute numerical.
12 13 14 |
# File 'lib/multi_exiftool/executable.rb', line 12 def numerical @numerical end |
#options ⇒ Object
Returns the value of attribute options.
12 13 14 |
# File 'lib/multi_exiftool/executable.rb', line 12 def @options end |
Instance Method Details
#execute ⇒ Object
:nodoc:
33 34 35 36 37 |
# File 'lib/multi_exiftool/executable.rb', line 33 def execute # :nodoc: prepare_execution execute_command parse_results end |
#initialize(filenames = [], options = {}) ⇒ Object
14 15 16 17 18 19 20 21 |
# File 'lib/multi_exiftool/executable.rb', line 14 def initialize filenames=[], ={} @options = @filenames = filenames @option_mapping = {numerical: :n} if val = .delete(:config) @config = val end end |