Class: Laser::Cutter::CLI::Version

Inherits:
Command
  • Object
show all
Defined in:
lib/laser/cutter/cli/version.rb

Overview

The version command: prints the version of the gem.

Constant Summary

Constants inherited from Command

Command::BAR_WIDTH

Instance Method Summary collapse

Methods inherited from Command

finalize!, inherited, #progress, #ui

Instance Method Details

#call ⇒ void

This method returns an undefined value.



11
12
13
# File 'lib/laser/cutter/cli/version.rb', line 11

def call(**)
  out.puts Laser::Cutter::VERSION
end