Sha256: 2bc13fbb4aab8b6642d0fb8f9eb73fd909f8fab526d6d5c0659b10818a96180e

Contents?: true

Size: 286 Bytes

Versions: 15

Compression:

Stored size: 286 Bytes

Contents

module BigKeeper
  module OperateType
    START = 1
    UPDATE = 2
    SWITCH = 3

    def self.name(type)
      if START == type
        "start"
      elsif UPDATE == type
        "update"
      elsif SWITCH == type
        "switch"
      else
        name
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
bigkeeper-0.7.8 lib/big_keeper/model/operate_type.rb
bigkeeper-0.7.7 lib/big_keeper/model/operate_type.rb
bigkeeper-0.7.6 lib/big_keeper/model/operate_type.rb
bigkeeper-0.7.5 lib/big_keeper/model/operate_type.rb
bigkeeper-0.7.4 lib/big_keeper/model/operate_type.rb
bigkeeper-0.7.3 lib/big_keeper/model/operate_type.rb
big_keeper-0.7.2 lib/big_keeper/model/operate_type.rb
big_keeper-0.7.1 lib/big_keeper/model/operate_type.rb
big_keeper-0.7.0 lib/big_keeper/model/operate_type.rb
big_keeper-0.6.0 lib/big_keeper/model/operate_type.rb
big_keeper-0.5.0 lib/big_keeper/model/operate_type.rb
big_keeper-0.4.0 lib/big_keeper/model/operate_type.rb
big_keeper-0.3.0 lib/big_keeper/model/operate_type.rb
big_keeper-0.2.0 lib/big_keeper/model/operate_type.rb
big_keeper-0.1.0 lib/big_keeper/model/operate_type.rb