diff options
author | Andre Arko <andre@arko.net> | 2013-02-14 23:51:45 -0800 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2013-02-17 00:24:14 -0800 |
commit | 7ede3d80ffeb1a919d583f8a36db66e89b414ae3 (patch) | |
tree | be9e8924686eb6114f21ace45e1d3e1ca319a015 /lib/bundler/ui.rb | |
parent | c0620ef0d05f6f6bfe9208ccaccac92f2558cee9 (diff) | |
download | bundler-7ede3d80ffeb1a919d583f8a36db66e89b414ae3.tar.gz |
Merge pull request #1983 from takkanm/add-grep-option
Add: grep option for bundle open
Conflicts:
lib/bundler/cli.rb
lib/bundler/ui.rb
Diffstat (limited to 'lib/bundler/ui.rb')
-rw-r--r-- | lib/bundler/ui.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/bundler/ui.rb b/lib/bundler/ui.rb index 9dd0db71..786c49ee 100644 --- a/lib/bundler/ui.rb +++ b/lib/bundler/ui.rb @@ -24,6 +24,9 @@ module Bundler false end + def ask(message) + end + class Shell < UI attr_reader :quiet attr_writer :shell @@ -75,6 +78,10 @@ module Bundler tell_me(msg, nil, newline) if debug? end + def ask(msg) + @shell.ask(msg) + end + def trace(e, newline = nil) msg = ["#{e.class}: #{e.message}", *e.backtrace].join("\n") if debug? |