Sha256: 83f1c0d2fd7da5de87c6c887f87e9920b85b9dbf6d73f9d19f1d5e51ad7cb8e5
Contents?: true
Size: 923 Bytes
Versions: 6
Compression:
Stored size: 923 Bytes
Contents
=begin Copyright 2010-2015 Tasos Laskos <tasos.laskos@arachni-scanner.com> This file is part of the Arachni Framework project and is subject to redistribution and commercial restrictions. Please see the Arachni Framework web site for more information on licensing and terms of use. =end module Arachni class Framework module Parts # Provides access to {Arachni::Platform} helpers. # # @author Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com> module Platform # @return [Array<Hash>] # Information about all available platforms. def list_platforms platforms = Arachni::Platform::Manager.new platforms.valid.inject({}) do |h, platform| type = Arachni::Platform::Manager::TYPES[platforms.find_type( platform )] h[type] ||= {} h[type][platform] = platforms.fullname( platform ) h end end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems