Module: Ronin::Core::Metadata::References

Defined in:
lib/ronin/core/metadata/references.rb

Overview

Adds a references metadata attribute to a class.

Example

class MyModule

  include Ronin::Core::Metadata::References

  references [
    "https://...",
    ...
  ]

end

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Adds ClassMethods to the class.

Parameters:



48
49
50
# File 'lib/ronin/core/metadata/references.rb', line 48

def self.included(base)
  base.extend ClassMethods
end