Module: Ronin::Core::Metadata::Summary

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

Overview

Adds a summary metadata attribute to a class.

Example

class MyModule

  include Ronin::Core::Metadata::Summary

  summary "Lorem ipsum dolor sit amet, consectetur adipiscing elit"

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:



45
46
47
# File 'lib/ronin/core/metadata/summary.rb', line 45

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