Class: CandyCheck::CLI::Commands::Version

Inherits:
Base
  • Object
show all
Defined in:
lib/candy_check/cli/commands/version.rb

Overview

Command to show the gem’s version

Instance Method Summary collapse

Methods inherited from Base

#initialize, run

Constructor Details

This class inherits a constructor from CandyCheck::CLI::Commands::Base

Instance Method Details

#runObject

Prints the current gem’s version to the command line



7
8
9
# File 'lib/candy_check/cli/commands/version.rb', line 7

def run
  out.print CandyCheck::VERSION
end