Module: IRB
- Defined in:
- lib/utility_belt/irb_verbosity_control.rb
Overview
Class Method Summary collapse
Class Method Details
.hide_results ⇒ Object
12 13 14 |
# File 'lib/utility_belt/irb_verbosity_control.rb', line 12 def self.hide_results self.result_format = '' end |
.result_format ⇒ Object
3 4 5 |
# File 'lib/utility_belt/irb_verbosity_control.rb', line 3 def self.result_format conf[:PROMPT][conf[:PROMPT_MODE]][:RETURN] end |
.result_format=(str) ⇒ Object
6 7 8 |
# File 'lib/utility_belt/irb_verbosity_control.rb', line 6 def self.result_format=(str) result_format.replace(str) end |
.show_results ⇒ Object
9 10 11 |
# File 'lib/utility_belt/irb_verbosity_control.rb', line 9 def self.show_results self.result_format = "=> %s\n" end |