class FakeGit::UpdateRef

Public Instance Methods

call(*args) click to toggle source
# File lib/fake_git/update_ref.rb, line 2
def call(*args)
  path = ".fakegit/refs/heads/master"
  File.open(path, 'w') do |file|
    file.write(args.first)
  end
end