Module: Rib::Byebug::Imp
- Included in:
- Rib
- Defined in:
- lib/rib/extra/byebug.rb
Instance Method Summary collapse
- #byebug ⇒ Object
- #finish ⇒ Object
- #location ⇒ Object
- #next(lines = 1) ⇒ Object
- #step(times = 1) ⇒ Object
Instance Method Details
#byebug ⇒ Object
19 20 21 22 23 |
# File 'lib/rib/extra/byebug.rb', line 19 def byebug return if Rib::Byebug.disabled? ::Byebug::RibProcessor.start end |
#finish ⇒ Object
37 38 39 |
# File 'lib/rib/extra/byebug.rb', line 37 def finish throw :rib_byebug, [:finish] end |
#location ⇒ Object
25 26 27 |
# File 'lib/rib/extra/byebug.rb', line 25 def location Rib.shell.config[:byebug].location end |
#next(lines = 1) ⇒ Object
33 34 35 |
# File 'lib/rib/extra/byebug.rb', line 33 def next lines=1 throw :rib_byebug, [:next, lines] end |
#step(times = 1) ⇒ Object
29 30 31 |
# File 'lib/rib/extra/byebug.rb', line 29 def step times=1 throw :rib_byebug, [:step, times] end |