Class: Scissor::Chunk

Inherits:
Object
  • Object
show all
Defined in:
lib/scissor-video/chunk.rb

Overview

video対応

Direct Known Subclasses

VideoChunk

Instance Method Summary collapse

Instance Method Details

#+(other) ⇒ Object



7
8
9
10
11
# File 'lib/scissor-video/chunk.rb', line 7

def +(other)
  new_instance = self.class.new
  new_instance.add_fragments(@fragments + other.fragments)
  new_instance
end