Sha256: aee89f3b2550db810222fec4d696fce5d14456dfdbc69213832270f6d08c305d

Contents?: true

Size: 392 Bytes

Versions: 51

Compression:

Stored size: 392 Bytes

Contents

# Copyright (C) the Rugged contributors.  All rights reserved.
#
# This file is part of Rugged, distributed under the MIT license.
# For full terms see the included LICENSE file.

# Loaded by script/console. Land helpers here.

def repo
  Rugged::Repository.new(File.expand_path('../../../', __FILE__))
end

Pry.config.prompt = lambda do |context, nesting, pry|
  "[rugged] #{context}> "
end

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
rugged-1.7.2 lib/rugged/console.rb
rugged-1.6.5 lib/rugged/console.rb
rugged-1.7.1 lib/rugged/console.rb
rugged-1.6.3 lib/rugged/console.rb
rugged-1.6.2 lib/rugged/console.rb
rugged-1.5.1 lib/rugged/console.rb
rugged-1.4.5 lib/rugged/console.rb
rugged-1.5.0.1 lib/rugged/console.rb
rugged-1.5.0 lib/rugged/console.rb
rugged-1.3.2.3 lib/rugged/console.rb
rugged-1.4.4 lib/rugged/console.rb
rugged-1.3.2.1 lib/rugged/console.rb
rugged-1.4.3 lib/rugged/console.rb
rugged-1.3.2 lib/rugged/console.rb
rugged-1.4.2 lib/rugged/console.rb
rugged-1.3.1 lib/rugged/console.rb
rugged-1.3.0 lib/rugged/console.rb
rugged-1.2.0 lib/rugged/console.rb
rugged-1.1.1 lib/rugged/console.rb
rugged-1.1.0 lib/rugged/console.rb