lib/minitest_to_rspec/type.rb
# Implementation copied from Array.wrap in ActiveSupport 5
Implementation copied from Array.wrap in ActiveSupport 5
Implementation copied from Array . wrap in ActiveSupport 5
def array_wrap(object)
        if object.nil?
          []
        elsif object.respond_to?(:to_ary)
          object.to_ary || [object]
        else
          [object]
        end
      end
def array_wrap ( object ) if object . nil? [ ] elsif object . respond_to? ( :to_ary ) object . to_ary || [ object ] else [ object ] end end
Implementation copied from Array.wrap in ActiveSupport 5
Implementation copied from Array . wrap in ActiveSupport 5
object
<not_specific>