# frozen_string_literal: true module CodebreakerRuban module Validation def check_number(user_input, range) user_input.each { |e| break unless range.include? e.to_i } end def validate_range_lenght(arg, size) arg.length == size end def size(arg, range) range.include? arg.length end end end