Class: Gdsii::Structures

Inherits:
Group
  • Object
show all
Includes:
Access::EnumerableGroup
Defined in:
lib/gdsii/structure.rb

Overview

Class to hold a collection of Structure objects. This is used in the Library class BNF.

Instance Attribute Summary

Attributes inherited from Group

#records

Instance Method Summary collapse

Methods included from Access::EnumerableGroup

#add, #each, #list, #method_missing, #remove

Methods inherited from Group

bnf_key, bnf_key=, bnf_spec, bnf_spec=, #configure, #validate, #write

Methods included from Read

#read

Constructor Details

#initialize(structures = []) ⇒ Structures

Create an Structures object.



344
345
346
347
# File 'lib/gdsii/structure.rb', line 344

def initialize(structures=[])
  super()
  @records[Structure] = @list = structures
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Gdsii::Access::EnumerableGroup