Class: Squidward::Command::Version

Inherits:
Base
  • Object
show all
Defined in:
lib/squidward/commands/version.rb

Overview

Gem Versioning Helper and also displays current version to the user

Constant Summary collapse

GEM_VERSION =
"0.6"

Instance Method Summary collapse

Methods inherited from Base

#configuration, #display, #logger, #store_configuration

Instance Method Details

#index(args = nil) ⇒ Object

Displays current gem version to the user



8
9
10
# File 'lib/squidward/commands/version.rb', line 8

def index(args = nil)
  display("squidward-#{GEM_VERSION}")
end