make PlatformList a little more like an Array
git-svn-id: file:///home/svn/framework3/trunk@9479 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
6f37ea2aeb
commit
6fc84364b5
|
@ -39,6 +39,10 @@ class Msf::Module::PlatformList
|
|||
self.new(*ary)
|
||||
end
|
||||
|
||||
def index(needle)
|
||||
self.platforms.index(needle)
|
||||
end
|
||||
|
||||
#
|
||||
# Constructor, takes the entries are arguments
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue