Module: BigKeeper::OperateType
- Defined in:
- lib/big_keeper/model/operate_type.rb
Constant Summary collapse
- START =
1- UPDATE =
2- SWITCH =
3
Class Method Summary collapse
Class Method Details
.name(type) ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/big_keeper/model/operate_type.rb', line 7 def self.name(type) if START == type "start" elsif UPDATE == type "update" elsif SWITCH == type "switch" else name end end |