Class: Vercon::Commands::Version
- Inherits:
-
Dry::CLI::Command
- Object
- Dry::CLI::Command
- Vercon::Commands::Version
- Defined in:
- lib/vercon/commands/version.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize ⇒ Version
constructor
A new instance of Version.
Constructor Details
#initialize ⇒ Version
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
#call ⇒ Object
16 17 18 |
# File 'lib/vercon/commands/version.rb', line 16 def call(*) @stdout.puts ::Vercon::VERSION end |