Class: Markdown

Inherits:
Object
  • Object
show all
Defined in:
lib/tool-markdown.rb,
lib/tool-markdown/markdown/link.rb,
lib/tool-markdown/markdown/read.rb,
lib/tool-markdown/markdown/debug.rb

Defined Under Namespace

Classes: Debug, Link, Read

Class Method Summary collapse

Class Method Details



6
7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'lib/tool-markdown.rb', line 6

def self.link(dirname, options)
  if options['info']
    Markdown::Link.show_info dirname
    exit 0
  end

  if options['check']
    Markdown::Link.check dirname
    exit 0
  end

  puts "Usage: #{Version::NAME} help"
  exit 1
end