Module: JazzFingers::Prompt::PryVersion012AndPrior
- Included in:
- JazzFingers::Prompt
- Defined in:
- lib/jazz_fingers/prompt/pry_version_012_and_prior.rb
Overview
For Pry < 0.13.
Instance Method Summary collapse
Instance Method Details
#config ⇒ Object
7 8 9 |
# File 'lib/jazz_fingers/prompt/pry_version_012_and_prior.rb', line 7 def config [main_prompt, wait_prompt] end |
#main_prompt ⇒ Object
11 12 13 14 15 |
# File 'lib/jazz_fingers/prompt/pry_version_012_and_prior.rb', line 11 def main_prompt lambda do |context, _nesting, pry| template(Pry.view_clip(context), pry, main_separator) end end |
#wait_prompt ⇒ Object
17 18 19 20 21 |
# File 'lib/jazz_fingers/prompt/pry_version_012_and_prior.rb', line 17 def wait_prompt lambda do |context, _nesting, pry| template(Pry.view_clip(context), pry, wait_separator) end end |