Class: Vercon::Commands::Version

Inherits:
Dry::CLI::Command
  • Object
show all
Defined in:
lib/vercon/commands/version.rb

Instance Method Summary collapse

Constructor Details

#initializeVersion

Returns a new instance of Version.



10
11
12
13
14
# File 'lib/vercon/commands/version.rb', line 10

def initialize
  @stdout = Vercon::Stdout.new

  super
end

Instance Method Details

#callObject



16
17
18
# File 'lib/vercon/commands/version.rb', line 16

def call(*)
  @stdout.puts ::Vercon::VERSION
end