Module: Gitcommand
- Defined in:
- lib/gitcommand.rb,
lib/gitcommand/version.rb
Overview
require “gitcommand/version”
Constant Summary collapse
- VERSION =
"0.1.0"
Class Method Summary collapse
Class Method Details
.gittest ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'lib/gitcommand.rb', line 5 def self.gittest puts("リポジトリを作成するコマンドを入力してください") str01 = gets.to_i if str01 == "git init" puts ("等しい") else puts ("間違いです。正解は「git init」です。") end end |