Sha256: d6a4b5cd95480a6a905e4a2942d31dd0fa767eee654b1823748537e878484252

Contents?: true

Size: 481 Bytes

Versions: 5

Compression:

Stored size: 481 Bytes

Contents

# -*- encoding : utf-8 -*-
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

5 entries across 5 versions & 1 rubygems

Version Path
mygithug-0.5.6 levels/diff.rb
mygithug-0.5.5 levels/diff.rb
mygithug-0.5.4 levels/diff.rb
mygithug-0.5.3 levels/diff.rb
mygithug-0.5.2 levels/diff.rb