Sha256: 3dce1134cf80958f88aba6820ef08888e20cf6f5626ca22630fb8ddff423844d

Contents?: true

Size: 287 Bytes

Versions: 1

Compression:

Stored size: 287 Bytes

Contents

require "gorails"

module Gorails
  module Commands
    class Version < Gorails::Command
      def call(_args, _name)
        puts Gorails::VERSION
      end

      def self.help
        "Prints the version.\nUsage: {{command:#{Gorails::TOOL_NAME} version}}"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gorails-0.1.5 lib/gorails/commands/version.rb