Class: AppArchetype::Commands::PrintVersion
- Inherits:
-
Object
- Object
- AppArchetype::Commands::PrintVersion
- Defined in:
- lib/app_archetype/commands/print_version.rb
Overview
Prints gem version to STDOUT
Instance Method Summary collapse
-
#initialize(options = Hashie::Mash.new) ⇒ PrintVersion
constructor
A new instance of PrintVersion.
-
#run ⇒ Object
Prints gem version.
Constructor Details
#initialize(options = Hashie::Mash.new) ⇒ PrintVersion
Returns a new instance of PrintVersion.
7 8 9 |
# File 'lib/app_archetype/commands/print_version.rb', line 7 def initialize( = Hashie::Mash.new) @options = end |
Instance Method Details
#run ⇒ Object
Prints gem version
14 15 16 |
# File 'lib/app_archetype/commands/print_version.rb', line 14 def run puts(AppArchetype::VERSION) end |