Sha256: 52b76f8eaa88602028cd09896f5f8d210b55ec27c1256a4488e21b99ed3d1aa7

Contents?: true

Size: 418 Bytes

Versions: 23

Compression:

Stored size: 418 Bytes

Contents

# -*- coding: utf-8 -*-
#
# Copyright 2013 whiteleaf. All rights reserved.
#

module Command
  class Version < CommandBase
    def self.oneline_help
      "バージョンを表示します"
    end

    def execute(argv)
      puts self.class.create_version_string
    end

    def self.create_version_string
      postfix = (Narou.commit_version ? "" : " (develop)")
      "#{::Version}#{postfix}"
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
narou-3.1.9 lib/command/version.rb
narou-3.1.8 lib/command/version.rb
narou-3.1.7 lib/command/version.rb
narou-3.1.6 lib/command/version.rb
narou-3.1.5 lib/command/version.rb
narou-3.1.4 lib/command/version.rb
narou-3.1.3 lib/command/version.rb
narou-3.1.2 lib/command/version.rb
narou-3.1.1 lib/command/version.rb
narou-3.0.5.1 lib/command/version.rb
narou-3.0.5 lib/command/version.rb
narou-3.0.4 lib/command/version.rb
narou-3.0.3 lib/command/version.rb
narou-3.0.2 lib/command/version.rb
narou-3.0.1 lib/command/version.rb
narou-3.0.0 lib/command/version.rb
narou-2.9.5 lib/command/version.rb
narou-2.9.4 lib/command/version.rb
narou-2.9.3.1 lib/command/version.rb
narou-2.9.3 lib/command/version.rb