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.3.14 lib/incline/cli/version.rb
incline-0.3.13 lib/incline/cli/version.rb
incline-0.3.12 lib/incline/cli/version.rb
incline-0.3.11 lib/incline/cli/version.rb
incline-0.3.10 lib/incline/cli/version.rb
incline-0.3.9 lib/incline/cli/version.rb
incline-0.3.8 lib/incline/cli/version.rb
incline-0.3.7 lib/incline/cli/version.rb
incline-0.3.6 lib/incline/cli/version.rb
incline-0.3.5 lib/incline/cli/version.rb
incline-0.3.4 lib/incline/cli/version.rb
incline-0.3.3 lib/incline/cli/version.rb
incline-0.3.2 lib/incline/cli/version.rb
incline-0.3.1 lib/incline/cli/version.rb
incline-0.3.0 lib/incline/cli/version.rb
incline-0.2.36 lib/incline/cli/version.rb
incline-0.2.35 lib/incline/cli/version.rb
incline-0.2.34 lib/incline/cli/version.rb
incline-0.2.28 lib/incline/cli/version.rb
incline-0.2.27 lib/incline/cli/version.rb