Class: Omnizip::Algorithms::LZMA::IntRef

Inherits:
Object
  • Object
show all
Defined in:
lib/omnizip/algorithms/lzma/xz_range_encoder_exact.rb,
lib/omnizip/algorithms/lzma/xz_buffered_range_encoder.rb

Overview

Reference wrapper for integer (for out_pos parameter)

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(val) ⇒ IntRef

Returns a new instance of IntRef.



308
309
310
# File 'lib/omnizip/algorithms/lzma/xz_range_encoder_exact.rb', line 308

def initialize(val)
  @value = val
end

Instance Attribute Details

#valueObject

Returns the value of attribute value.



306
307
308
# File 'lib/omnizip/algorithms/lzma/xz_range_encoder_exact.rb', line 306

def value
  @value
end