Class: Rouge::CLI::Version

Inherits:
Rouge::CLI show all
Defined in:
lib/rouge/cli.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Rouge::CLI

class_from_arg, doc, error!, #error!, #initialize, normalize_syntax

Constructor Details

This class inherits a constructor from Rouge::CLI

Class Method Details

.descObject



107
108
109
# File 'lib/rouge/cli.rb', line 107

def self.desc
  "print the rouge version number"
end

.parseObject



111
# File 'lib/rouge/cli.rb', line 111

def self.parse(*); new; end

Instance Method Details

#runObject



113
114
115
# File 'lib/rouge/cli.rb', line 113

def run
  puts Rouge.version
end