Class: GeneSystem::Commands::PrintVersion
- Inherits:
-
Object
- Object
- GeneSystem::Commands::PrintVersion
- Defined in:
- lib/gene_system/commands/print_version.rb
Overview
Gem version command
Instance Method Summary collapse
-
#initialize(options) ⇒ PrintVersion
constructor
A new instance of PrintVersion.
-
#run ⇒ Object
Prints version to STDOUT.
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 = end |
Instance Method Details
#run ⇒ Object
Prints version to STDOUT
12 13 14 |
# File 'lib/gene_system/commands/print_version.rb', line 12 def run puts(GeneSystem::VERSION) end |