Class: Kumi::Core::LIR::Structs::Stamp

Inherits:
Struct
  • Object
show all
Defined in:
lib/kumi/core/lir/structs/stamp.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#dtypeObject

Returns the value of attribute dtype

Returns:

  • (Object)

    the current value of dtype



6
7
8
# File 'lib/kumi/core/lir/structs/stamp.rb', line 6

def dtype
  @dtype
end

Instance Method Details

#to_hObject

include Typed # enable if you add typed.rb



8
# File 'lib/kumi/core/lir/structs/stamp.rb', line 8

def to_h = { dtype: dtype }