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.26 lib/incline/cli/version.rb
incline-0.2.25 lib/incline/cli/version.rb
incline-0.2.24 lib/incline/cli/version.rb
incline-0.2.23 lib/incline/cli/version.rb
incline-0.2.22 lib/incline/cli/version.rb
incline-0.2.21 lib/incline/cli/version.rb
incline-0.2.20 lib/incline/cli/version.rb
incline-0.2.19 lib/incline/cli/version.rb
incline-0.2.18 lib/incline/cli/version.rb
incline-0.2.17 lib/incline/cli/version.rb
incline-0.2.16 lib/incline/cli/version.rb
incline-0.2.15 lib/incline/cli/version.rb
incline-0.2.14 lib/incline/cli/version.rb
incline-0.2.13 lib/incline/cli/version.rb
incline-0.2.12 lib/incline/cli/version.rb
incline-0.2.11 lib/incline/cli/version.rb
incline-0.2.10 lib/incline/cli/version.rb
incline-0.2.9 lib/incline/cli/version.rb
incline-0.2.8 lib/incline/cli/version.rb
incline-0.2.7 lib/incline/cli/version.rb