class Incline::CLI::Version

Defines the 'version' command for the CLI.

Public Class Methods

new() click to toggle source

Creates a new 'version' command for the CLI.

# File lib/incline/cli/version.rb, line 11
def initialize

end

Public Instance Methods

run() click to toggle source

Shows the version of the Incline library.

# File lib/incline/cli/version.rb, line 17
def run
  STDOUT.puts "Incline v#{Incline::VERSION}"
end