Files
metasploit-gs/lib/msf/core/module/author.rb
T
Luke Imhoff a59e635913 Extract Msf::Module::Author
MSP-11126
2014-10-17 11:17:12 -05:00

37 lines
501 B
Ruby

module Msf::Module::Author
#
# Attributes
#
# @!attribute author
# The array of zero or more authors.
attr_reader :author
#
# Instance Methods
#
#
# Return a comma separated list of author for this module.
#
def author_to_s
author.collect { |author| author.to_s }.join(", ")
end
#
# Enumerate each author.
#
def each_author(&block)
author.each(&block)
end
protected
#
# Attributes
#
# @!attribute [w] author
attr_writer :author
end