Class: ImageSize::ISOBMFF::FullBox
Overview
:nodoc:
Instance Attribute Summary collapse
-
#flags ⇒ Object
readonly
Returns the value of attribute flags.
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Attributes inherited from Box
#index, #offset, #relative_data_offset, #size, #type
Instance Method Summary collapse
-
#initialize(attributes) ⇒ FullBox
constructor
A new instance of FullBox.
Methods inherited from Box
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
#flags ⇒ Object (readonly)
Returns the value of attribute flags.
30 31 32 |
# File 'lib/image_size/isobmff.rb', line 30 def flags @flags end |
#version ⇒ Object (readonly)
Returns the value of attribute version.
30 31 32 |
# File 'lib/image_size/isobmff.rb', line 30 def version @version end |