Class: MTP::Properties::Forms::FixedLengthArray
- Defined in:
- lib/mtp/properties.rb
Instance Attribute Summary collapse
-
#size ⇒ Object
readonly
Returns the value of attribute size.
Instance Method Summary collapse
-
#initialize(form, dts) ⇒ FixedLengthArray
constructor
A new instance of FixedLengthArray.
Methods inherited from None
Constructor Details
#initialize(form, dts) ⇒ FixedLengthArray
Returns a new instance of FixedLengthArray.
192 193 194 |
# File 'lib/mtp/properties.rb', line 192 def initialize(form, dts) @size = form.unpack("S") end |
Instance Attribute Details
#size ⇒ Object (readonly)
Returns the value of attribute size.
191 192 193 |
# File 'lib/mtp/properties.rb', line 191 def size @size end |