module Rcb::State
Constants
- Close
- HalfOpen
- Open
Public Instance Methods
show_state(config)
click to toggle source
# File lib/rcb/state.rb, line 60 def show_state(config) case self in Open if self.half_open?(config.reset_timeout_msec) :half_open in Open :open in Close :close end end