Module: Beowulf::ExtensionIds

Included in:
Type::Extension
Defined in:
lib/beowulf/type/extension_ids.rb

Constant Summary collapse

IDS =
[
    :void_t,
    :extension_json_type
]

Instance Method Summary collapse

Instance Method Details

#id(op) ⇒ Object



8
9
10
# File 'lib/beowulf/type/extension_ids.rb', line 8

def id(op)
  IDS.find_index op
end