Class: MkvToolNix::Types::Extract::Attachment

Inherits:
Object
  • Object
show all
Defined in:
lib/mkvtoolnix/types/extract/attachment.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attachment_id, output_file) ⇒ Attachment

Returns a new instance of Attachment.



10
11
12
13
# File 'lib/mkvtoolnix/types/extract/attachment.rb', line 10

def initialize(attachment_id, output_file)
  @attachment_id = attachment_id
  @output_file = output_file
end

Instance Attribute Details

#attachment_idObject

Returns the value of attribute attachment_id.



8
9
10
# File 'lib/mkvtoolnix/types/extract/attachment.rb', line 8

def attachment_id
  @attachment_id
end

#output_fileObject

Returns the value of attribute output_file.



8
9
10
# File 'lib/mkvtoolnix/types/extract/attachment.rb', line 8

def output_file
  @output_file
end