Class: Omnizip::Algorithms::LZMA::XzMatchFinderAdapter::Match

Inherits:
Struct
  • Object
show all
Defined in:
lib/omnizip/algorithms/lzma/xz_match_finder_adapter.rb

Overview

Match structure matching XZ Utils

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#distObject

Returns the value of attribute dist

Returns:

  • (Object)

    the current value of dist



38
39
40
# File 'lib/omnizip/algorithms/lzma/xz_match_finder_adapter.rb', line 38

def dist
  @dist
end

#lenObject

Returns the value of attribute len

Returns:

  • (Object)

    the current value of len



38
39
40
# File 'lib/omnizip/algorithms/lzma/xz_match_finder_adapter.rb', line 38

def len
  @len
end

Instance Method Details

#to_sObject



39
40
41
# File 'lib/omnizip/algorithms/lzma/xz_match_finder_adapter.rb', line 39

def to_s
  "Match(len=#{len}, dist=#{dist})"
end