Module: Branchtree::Context
- Included in:
- Branch, Branchtree::Commands::Common, Situation
- Defined in:
- lib/branchtree.rb
Class Attribute Summary collapse
Class Method Summary collapse
Class Attribute Details
.cmd ⇒ Object
34 35 36 |
# File 'lib/branchtree.rb', line 34 def cmd @cmd ||= TTY::Command.new(printer: :null) end |
.prompt ⇒ Object
42 43 44 |
# File 'lib/branchtree.rb', line 42 def prompt @prompt ||= TTY::Prompt.new end |
.qcmd ⇒ Object
38 39 40 |
# File 'lib/branchtree.rb', line 38 def qcmd @qcmd ||= TTY::Command.new(printer: :quiet) end |
Class Method Details
.logger ⇒ Object
46 47 48 |
# File 'lib/branchtree.rb', line 46 def logger @logger ||= TTY::Logger.new end |