Class: AltStruct

Inherits:
Object
  • Object
show all
Includes:
M
Defined in:
lib/astruct.rb,
lib/astruct/module.rb,
lib/astruct/version.rb

Overview

This should be a consideration if there is a concern about the performance of the objects that are created, as there is much more overhead in the setting of these properties compared to using a Hash or a Struct.

Defined Under Namespace

Modules: M

Constant Summary collapse

VERSION =

This is the AltStruct version

"2.7.1"

Constants included from M

M::ThreadKey

Instance Attribute Summary

Attributes included from M

#table

Method Summary

Methods included from M

#==, #__delete_field__, #__dump__, #__inspect__, #__load__, #freeze, #initialize, #method_missing

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class AltStruct::M