Sha256: 92f1012a4ff4e0d87756219641b29654c47329c081f89c872a2fbbc2a02facbd
Contents?: true
Size: 923 Bytes
Versions: 1
Compression:
Stored size: 923 Bytes
Contents
=begin Copyright 2010-2014 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
arachni-1.0.6 | lib/arachni/framework/parts/platform.rb |