Sha256: 9c52e7a36d571feec37b64e77065aa778fab185265a3c23507aed01969f60d14

Contents?: true

Size: 522 Bytes

Versions: 3

Compression:

Stored size: 522 Bytes

Contents

class LooseTightDictionary
  class Result #:nodoc: all
    attr_accessor :needle
    attr_accessor :tighteners
    attr_accessor :blockings
    attr_accessor :identities
    attr_accessor :encompassed
    attr_accessor :unencompassed
    attr_accessor :possibly_identical
    attr_accessor :certainly_different
    attr_accessor :similarities
    attr_accessor :record
    attr_accessor :score
    
    def haystack
      encompassed + unencompassed
    end
    
    def free
      # nothing to see here
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
loose_tight_dictionary-0.2.0 lib/loose_tight_dictionary/result.rb
loose_tight_dictionary-0.1.1 lib/loose_tight_dictionary/result.rb
loose_tight_dictionary-0.1.0 lib/loose_tight_dictionary/result.rb