Class: Hanami::CLI::Commands::Gem::Version Private
- Inherits:
-
Hanami::CLI::Command
- Object
- Dry::CLI::Command
- Hanami::CLI::Command
- Hanami::CLI::Commands::Gem::Version
- Defined in:
- lib/hanami/cli/commands/gem/version.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #call ⇒ Object private
Methods inherited from Hanami::CLI::Command
Constructor Details
This class inherits a constructor from Hanami::CLI::Command
Instance Method Details
#call ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
14 15 16 17 |
# File 'lib/hanami/cli/commands/gem/version.rb', line 14 def call(*) version = detect_version out.puts "v#{version}" end |