Sha256: 423d9283dbf297b17a26cf0cbde51357ef4154bd5b7429ae54965b1b48711876
Contents?: true
Size: 495 Bytes
Versions: 7
Compression:
Stored size: 495 Bytes
Contents
#encoding: utf-8 # the main module module TheArrayComparator # the check class Check extend Forwardable # Delegates success? to check def_delegator :@check, :success? # @!attribute [r] sample # the sample of the check attr_reader :sample # Creates new check def initialize(strategy_klass,sample) @check = strategy_klass.new(sample) @sample = sample end # Checks for success def success? @check.success? end end end
Version data entries
7 entries across 7 versions & 1 rubygems