Class: Async::Utilization::Schema::Field

Inherits:
Data
  • Object
show all
Defined in:
lib/async/utilization/schema.rb

Overview

Represents a field in the schema with its name, type, and offset.

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



25
26
27
# File 'lib/async/utilization/schema.rb', line 25

def name
  @name
end

#offsetObject (readonly)

Returns the value of attribute offset

Returns:

  • (Object)

    the current value of offset



25
26
27
# File 'lib/async/utilization/schema.rb', line 25

def offset
  @offset
end

#typeObject (readonly)

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



25
26
27
# File 'lib/async/utilization/schema.rb', line 25

def type
  @type
end