Sha256: b2369d18eada5280a6af7810eae0d1df0f2c8cbd0a48a396a171cfccb104e9be

Contents?: true

Size: 351 Bytes

Versions: 46

Compression:

Stored size: 351 Bytes

Contents

module Incline
  class CLI

    ##
    # Defines the 'version' command for the CLI.
    class Version

      ##
      # Creates a new 'version' command for the CLI.
      def initialize

      end

      ##
      # Shows the version of the Incline library.
      def run
        STDOUT.puts "Incline v#{Incline::VERSION}"
      end

    end
  end
end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
incline-0.2.6 lib/incline/cli/version.rb
incline-0.2.5 lib/incline/cli/version.rb
incline-0.2.4 lib/incline/cli/version.rb
incline-0.2.3 lib/incline/cli/version.rb
incline-0.1.9 lib/incline/cli/version.rb
incline-0.1.8 lib/incline/cli/version.rb