Class: GeneSystem::Commands::PrintVersion

Inherits:
Object
  • Object
show all
Defined in:
lib/gene_system/commands/print_version.rb

Overview

Gem version command

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ PrintVersion

Returns a new instance of PrintVersion.



5
6
7
# File 'lib/gene_system/commands/print_version.rb', line 5

def initialize(options)
  @options = options
end

Instance Method Details

#runObject

Prints version to STDOUT



12
13
14
# File 'lib/gene_system/commands/print_version.rb', line 12

def run
  puts(GeneSystem::VERSION)
end