Module: Msf::Module::Author

Included in:
Msf::Module
Defined in:
lib/msf/core/module/author.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#authorObject

Returns the value of attribute author.



8
9
10
# File 'lib/msf/core/module/author.rb', line 8

def author
  @author
end

Instance Method Details

#author_to_sObject

Return a comma separated list of author for this module.



17
18
19
# File 'lib/msf/core/module/author.rb', line 17

def author_to_s
  author.collect { |author| author.to_s }.join(", ")
end

#each_author(&block) ⇒ Object

Enumerate each author.



24
25
26
# File 'lib/msf/core/module/author.rb', line 24

def each_author(&block)
  author.each(&block)
end