Sha256: 5995c86c593df576016f382655446146e54c53d36fc24dd2dc1a6cd2286fe662

Contents?: true

Size: 454 Bytes

Versions: 13

Compression:

Stored size: 454 Bytes

Contents

difficulty 2
description "There have been modifications to the `app.rb` file since your last commit.  Find out which line has changed."

setup do
  init_from_level
end

solution do
  line = request "What is the number of the line which has changed?"
  return false unless line == "26"
  true
end

hint do
  puts "You are looking for the difference since your last commit.  Don't forget that running `git` on its own will list the possible commands."
end

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
mygithug-0.5.1 levels/diff.rb
githug-0.5.0 levels/diff.rb
githug-0.4.8 levels/diff.rb
githug-0.4.7 levels/diff.rb
githug-0.4.6 levels/diff.rb
githug-0.4.5 levels/diff.rb
githug-0.4.4 levels/diff.rb
githug-0.4.3 levels/diff.rb
githug-0.4.2 levels/diff.rb
githug-0.4.1 levels/diff.rb
githug-0.4.0 levels/diff.rb
githug-0.3.5 levels/diff.rb
githug-0.3.4 levels/diff.rb