class Mementus::Direction
Constants
- BOTH
- IN
- OUT
Public Class Methods
flip(direction)
click to toggle source
# File lib/mementus/direction.rb, line 7 def self.flip(direction) case direction when IN then OUT when OUT then IN else BOTH end end