/vendor/gen-rb/fb303_types.rb
http://github.com/twitter/scribe · Ruby · 18 lines · 10 code · 3 blank · 5 comment · 0 complexity · 4f53586f5e92290336d42e5f02c231fa MD5 · raw file
- #
- # Autogenerated by Thrift
- #
- # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- #
- module Fb_status
- DEAD = 0
- STARTING = 1
- ALIVE = 2
- STOPPING = 3
- STOPPED = 4
- WARNING = 5
- VALUE_MAP = {0 => "DEAD", 1 => "STARTING", 2 => "ALIVE", 3 => "STOPPING", 4 => "STOPPED", 5 => "WARNING"}
- VALID_VALUES = Set.new([DEAD, STARTING, ALIVE, STOPPING, STOPPED, WARNING]).freeze
- end