Class: ImageSize::ISOBMFF::FullBox

Inherits:
Box
  • Object
show all
Defined in:
lib/image_size/isobmff.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Attributes inherited from Box

#index, #offset, #relative_data_offset, #size, #type

Instance Method Summary collapse

Methods inherited from Box

#data_offset, #data_size

Constructor Details

#initialize(attributes) ⇒ FullBox

Returns a new instance of FullBox.



32
33
34
35
36
# File 'lib/image_size/isobmff.rb', line 32

def initialize(attributes)
  super
  @version = attributes.fetch(:version)
  @flags = attributes.fetch(:flags)
end

Instance Attribute Details

#flagsObject (readonly)

Returns the value of attribute flags.



30
31
32
# File 'lib/image_size/isobmff.rb', line 30

def flags
  @flags
end

#versionObject (readonly)

Returns the value of attribute version.



30
31
32
# File 'lib/image_size/isobmff.rb', line 30

def version
  @version
end