Sha256: e35b66a97a27a8463431b4a2d795396ec151a66e42b1bc4b590c55db0531556a

Contents?: true

Size: 206 Bytes

Versions: 1

Compression:

Stored size: 206 Bytes

Contents

require 'gitconfig'
require 'highline'

class GitConfig
  def highline
    @highline ||= HighLine.new
  end

  def ask(desc, default=nil)
    highline.ask("#{desc}? ") { |q| q.default = default }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gitconfig-highline-0.0.1 lib/gitconfig/highline.rb