Class: Binder::Version

Inherits:
Strategy show all
Defined in:
lib/cli/commands/version.rb

Overview

Public: [Command] Displays the current ARB version. Used via the ‘arb` command.

Instance Method Summary collapse

Methods inherited from Strategy

alias_class, #justify_size, #merge_options_aliases

Instance Method Details

#descriptionObject



10
11
12
# File 'lib/cli/commands/version.rb', line 10

def description
  "Displays Binder::AR's gem current version"
end

#execute(args) ⇒ Object



6
7
8
# File 'lib/cli/commands/version.rb', line 6

def execute args
  "Binder::AR::Version => #{Binder::VERSION}".colorize(:orange)
end