Sha256: e39d2db38d37c393a4f66e21542d39a7c95b2c5cfb853c027acc5831e769e73c
Contents?: true
Size: 492 Bytes
Versions: 5
Compression:
Stored size: 492 Bytes
Contents
difficulty 1 description "There is a file in your folder called README, you should add it to your staging area Note: You start each level with a new repo. Don't look for files from the previous one" setup do repo.init FileUtils.touch("README") end solution do return false unless repo.status.files.keys.include?("README") return false if repo.status.files["README"].untracked true end hint do puts "You can type `git` in your shell to get a list of available git commands" end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
githug-0.3.3 | levels/add.rb |
githug-0.3.2 | levels/add.rb |
githug-0.3.1 | levels/add.rb |
githug-0.3.0 | levels/add.rb |
githug-0.2.12 | levels/add.rb |