Sha256: 0e08f7ffd2729a749ca4edf022b85f33bb510444c9fbec129e8799442018de5c

Contents?: true

Size: 291 Bytes

Versions: 6

Compression:

Stored size: 291 Bytes

Contents

#encoding: utf-8

# the main module
module TheArrayComparator
  # the check result
  class Result
    def initialize(sample=nil)
      @sample = sample
    end

    def of_checks
      return true if @sample.blank?
      false
    end

    def failed_sample
      @sample
    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
the_array_comparator-0.4.0 lib/the_array_comparator/result.rb
the_array_comparator-0.3.4 lib/the_array_comparator/result.rb
the_array_comparator-0.3.1 lib/the_array_comparator/result.rb
the_array_comparator-0.3.0 lib/the_array_comparator/result.rb
the_array_comparator-0.2.0 lib/the_array_comparator/result.rb
the_array_comparator-0.1.1 lib/the_array_comparator/result.rb