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

Constructor Details

This class inherits a constructor from Rouge::CLI

Class Method Details

.descObject



120
121
122
# File 'lib/rouge/cli.rb', line 120

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

.parseObject



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

def self.parse(*); new; end

Instance Method Details

#runObject



126
127
128
# File 'lib/rouge/cli.rb', line 126

def run
  puts Rouge.version
end