Class: Mikunyan::Asset::Klass

Inherits:
Struct
  • Object
show all
Defined in:
lib/mikunyan/asset.rb

Overview

Struct for representing Asset class definition

Instance Attribute Summary collapse

Instance Attribute Details

#class_idInteger

class ID

Returns:

  • (Integer)

    the current value of class_id



28
29
30
# File 'lib/mikunyan/asset.rb', line 28

def class_id
  @class_id
end

#hashString

hash value (16 or 32 bytes)

Returns:

  • (String)

    the current value of hash



28
29
30
# File 'lib/mikunyan/asset.rb', line 28

def hash
  @hash
end

#script_idInteger?

script ID

Returns:

  • (Integer, nil)

    the current value of script_id



28
29
30
# File 'lib/mikunyan/asset.rb', line 28

def script_id
  @script_id
end

#stripped?Boolean

Returns the current value of stripped?.

Returns:

  • (Boolean)

    the current value of stripped?



28
29
30
# File 'lib/mikunyan/asset.rb', line 28

def stripped?
  @stripped?
end

#type_treeMikunyan::TypeTree?

given TypeTree

Returns:



28
29
30
# File 'lib/mikunyan/asset.rb', line 28

def type_tree
  @type_tree
end