Module: MrHyde

Defined in:
lib/mrhyde/cli/main.rb,
lib/mrhyde.rb,
lib/mrhyde/builder.rb,
lib/mrhyde/version.rb,
lib/mrhyde/cli/opts.rb

Overview

NOTE: wrap gli config into a class

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

Defined Under Namespace

Classes: Builder, Opts, Tool, Toolii

Constant Summary collapse

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

Class Method Summary collapse

Class Method Details



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

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

.mainObject



23
24
25
# File 'lib/mrhyde.rb', line 23

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

.rootObject



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

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

.versionObject



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

def self.version
  VERSION
end