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
12 13 14 15 16 |
# File 'lib/rib/extra/byebug.rb', line 12 def byebug return if Rib::Byebug.disabled? ::Byebug::RibProcessor.start end |
#finish ⇒ Object
30 31 32 |
# File 'lib/rib/extra/byebug.rb', line 30 def finish throw :rib_byebug, [:finish] end |
#location ⇒ Object
18 19 20 |
# File 'lib/rib/extra/byebug.rb', line 18 def location Rib.shell.config[:byebug].location end |
#next(lines = 1) ⇒ Object
26 27 28 |
# File 'lib/rib/extra/byebug.rb', line 26 def next lines=1 throw :rib_byebug, [:next, lines] end |
#step(times = 1) ⇒ Object
22 23 24 |
# File 'lib/rib/extra/byebug.rb', line 22 def step times=1 throw :rib_byebug, [:step, times] end |