Module: DrJekyll

Defined in:
lib/drjekyll/cli/main.rb,
lib/drjekyll.rb,
lib/drjekyll/catalog.rb,
lib/drjekyll/cli/new.rb,
lib/drjekyll/package.rb,
lib/drjekyll/version.rb,
lib/drjekyll/cli/list.rb,
lib/drjekyll/cli/opts.rb,
lib/drjekyll/cli/unzip.rb,
lib/drjekyll/cli/download.rb

Overview

NOTE: wrap gli config into a class

see github.com/davetron5000/gli/issues/153

Defined Under Namespace

Classes: Catalog, DownloadCommand, ListCommand, NewCommand, Opts, Package, Tool, Toolii, UnzipCommand

Constant Summary collapse

MAJOR =
1
MINOR =
0
PATCH =
1
VERSION =
[MAJOR,MINOR,PATCH].join('.')

Class Method Summary collapse

Class Method Details



15
16
17
# File 'lib/drjekyll/version.rb', line 15

def self.banner
  "drjekyll/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
end

.mainObject



40
41
42
# File 'lib/drjekyll.rb', line 40

def self.main
  exit Tool.new.run( ARGV )
end

.rootObject



19
20
21
# File 'lib/drjekyll/version.rb', line 19

def self.root
  "#{File.expand_path( File.dirname(File.dirname(File.dirname(__FILE__))) )}"
end

.versionObject



11
12
13
# File 'lib/drjekyll/version.rb', line 11

def self.version
  VERSION
end