Class: GitConfig
- Inherits:
-
Object
- Object
- GitConfig
- Defined in:
- lib/gitconfig/highline.rb
Instance Method Summary collapse
Instance Method Details
#ask(desc, default = nil) ⇒ Object
9 10 11 |
# File 'lib/gitconfig/highline.rb', line 9 def ask(desc, default=nil) highline.ask("#{desc}? ") { |q| q.default = default } end |
#highline ⇒ Object
5 6 7 |
# File 'lib/gitconfig/highline.rb', line 5 def highline @highline ||= HighLine.new end |