NAME

Thrift::IDL::Enum

DESCRIPTION

Inherits from Thrift::IDL::Definition

METHODS

name

values

Scalar accessors

numbered_values

Numbering the Enum is optional in the Thrift spec. Calling this method will assign incremented numbers to each value (if they have no number)

value_named

Return the value (number) with the given name

value_id_name

Return the name for a given value (number)