Class: Schema::Brand::Scope::Which
- Inherits:
-
T::Enum
- Object
- T::Enum
- Schema::Brand::Scope::Which
- Extended by:
- T::Sig
- Defined in:
- lib/capnp/generator/schema.capnp.rb
Class Method Summary collapse
Class Method Details
.from_integer(value) ⇒ Object
923 924 925 926 927 928 929 |
# File 'lib/capnp/generator/schema.capnp.rb', line 923 def self.from_integer(value) case value when 0 then Bind when 1 then Inherit else raise "Unknown Which value: #{value}" end end |