Files
metasploit-gs/lib/msf/core/module/author.rb
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
501 B
Ruby
Raw Normal View History

2014-10-17 09:02:12 -05:00
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