Files
beef/core/api/command.rb
scotty.b.brown@gmail.com 35f62714b1 Moving nextgen from a branch to the trunk!!!
git-svn-id: https://beef.googlecode.com/svn/trunk@908 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-04-20 07:54:56 +00:00

31 lines
572 B
Ruby

module BeEF
module API
#
# Use this API call if you want to add new methods and variables to the default
# BeEF::Core::Command module.
#
# Here's an example:
#
# module A
# extend BeEF::API::Command
#
# def hello
# p 'hi there'
# end
# end
#
# b = BeEF::Core::Command.new
# b.hello # => 'hi there'
#
# c = BeEF::Core::Command::Detect_details.new
# c.hello # => 'hi there'
#
#
# For a real life example, have a look at BeEF::Extension::AdminUI::API::Command
#
module Command
end
end
end