module Byebug::Helpers::FrameHelper
def direction(step)
-
(Integer)
- +1 if step is positive / -1 if negative
Parameters:
-
step
(Integer
) -- A positive or negative integer
def direction(step) step / step.abs end
(Integer)
- +1 if step is positive / -1 if negative
step
(Integer
)
-- A positive or negative integer
def direction(step) step / step.abs end