Sha256: 0a5370bd275ce9207f57aa293603d684e0a02dca761b190f012226b31218c477

Contents?: true

Size: 405 Bytes

Versions: 26

Compression:

Stored size: 405 Bytes

Contents

difficulty 1
description "There is a file in your folder called README, you should add it to your staging area"

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

26 entries across 26 versions & 2 rubygems

Version Path
githug-0.2.11 levels/add.rb
githug-0.2.10 levels/add.rb
githug-0.2.9 levels/add.rb
githug-0.2.8 levels/add.rb
githug-0.2.7 levels/add.rb
githug-0.2.6 levels/add.rb
githug-0.2.5 levels/add.rb
githug-0.2.4 levels/add.rb
githug-0.2.3 levels/add.rb
githug-0.2.2 levels/add.rb
githug-0.2.1 levels/add.rb
githug-0.2.0 levels/add.rb
githug-0.1.8 levels/add.rb
githug-0.1.7 levels/add.rb
githug-0.1.6 levels/add.rb
githug-0.1.5 levels/add.rb
githug-0.1.4 levels/add.rb
githug-0.1.3 levels/add.rb
githug-0.1.2 levels/add.rb
githug-0.1.1 levels/add.rb