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