Class: Ynl::Types::Scalar

Inherits:
Data
  • Object
show all
Defined in:
lib/ynl.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#byte_orderObject (readonly)

Returns the value of attribute byte_order

Returns:

  • (Object)

    the current value of byte_order



11
12
13
# File 'lib/ynl.rb', line 11

def byte_order
  @byte_order
end

#typeObject (readonly)

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



11
12
13
# File 'lib/ynl.rb', line 11

def type
  @type
end

Instance Method Details

#rbs_typeObject



16
17
18
# File 'lib/ynl.rb', line 16

def rbs_type
  '::Integer'
end

#resolve(f) ⇒ Object



12
13
14
# File 'lib/ynl.rb', line 12

def resolve(f)
  self
end