Class: MetaCommit::Extension::MarkdownSupport::Locator

Inherits:
Contracts::Locator
  • Object
show all
Defined in:
lib/meta_commit_markdown_support/locator.rb

Overview

Package interface

Instance Method Summary collapse

Instance Method Details

#diffsArray

Returns diff classes that package provides.

Returns:

  • (Array)

    diff classes that package provides



12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/meta_commit_markdown_support/locator.rb', line 12

def diffs
  [
      MetaCommit::Extension::MarkdownSupport::Diffs::AnchorAddition,
      MetaCommit::Extension::MarkdownSupport::Diffs::AnchorDeletion,
      MetaCommit::Extension::MarkdownSupport::Diffs::AnchorRename,
      MetaCommit::Extension::MarkdownSupport::Diffs::CodeAddition,
      MetaCommit::Extension::MarkdownSupport::Diffs::CodeChange,
      MetaCommit::Extension::MarkdownSupport::Diffs::CodeDeletion,
      MetaCommit::Extension::MarkdownSupport::Diffs::ListAddition,
      MetaCommit::Extension::MarkdownSupport::Diffs::ListChange,
      MetaCommit::Extension::MarkdownSupport::Diffs::ListDeletion,
      MetaCommit::Extension::MarkdownSupport::Diffs::TextAddition,
      MetaCommit::Extension::MarkdownSupport::Diffs::TextChange,
      MetaCommit::Extension::MarkdownSupport::Diffs::TextDeletion
  ]
end

#parsersArray

Returns parser classes that package provides.

Returns:

  • (Array)

    parser classes that package provides



5
6
7
8
9
# File 'lib/meta_commit_markdown_support/locator.rb', line 5

def parsers
  [
      MetaCommit::Extension::MarkdownSupport::Parsers::Markdown
  ]
end