Sha256: ce27b22720fe5409e9487eb4a752f31f2e61eff3337467e57ab98184a528231b
Contents?: true
Size: 564 Bytes
Versions: 2
Compression:
Stored size: 564 Bytes
Contents
#encoding: utf-8 # the main module module TheArrayComparator # the available strategies module Strategies #strategy is not equal class IsNotEqual < Base # Create a new instance of strategy # # @see Base def initialize(sample=Sample.new) super warning_unsupported_exceptions end # Check the keywords with the data # # @return [Boolean] # The result of the check def success? return true if @keywords.to_a != @data false end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
the_array_comparator-0.2.0 | lib/the_array_comparator/strategies/is_not_equal.rb |
the_array_comparator-0.1.1 | lib/the_array_comparator/strategies/is_not_equal.rb |