module YARD::Metasploit::ERD

namespace to match primary gem, `metasploit-erd`, that is used by this yard plugin.

Constants

VERSION

VERSION is managed by GemRelease

Public Class Methods

register_template_path() click to toggle source

Registers {templates} in `YARD::Templates::Engine.templates_paths`.

@return [void]

# File lib/yard/metasploit/erd.rb, line 28
def self.register_template_path
  YARD::Templates::Engine.register_template_path templates.to_path
end
root() click to toggle source

The root directory of the yard-metasploit-erd gem.

@return [Pathname]

# File lib/yard/metasploit/erd.rb, line 35
def self.root
  @root ||= Pathname.new(__FILE__).parent.parent.parent.parent
end
templates() click to toggle source

Path to the YARD templates for this YARD plugin.

@return [Pathname]

# File lib/yard/metasploit/erd.rb, line 42
def self.templates
  root.join('templates')
end
version() click to toggle source

@return [String]

returns the VERSION

# File lib/yard/metasploit/erd/version.rb, line 12
def self.version
  VERSION
end