Class: Gdsii::Properties

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

Overview

Holds a collection of Property objects. Most methods are mixed in from the Access::EnumerableGroup module.

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(properties = []) ⇒ Properties

Define a new list of properties



88
89
90
91
# File 'lib/gdsii/property.rb', line 88

def initialize(properties=[])
  super()
  @records[Property] = @list = properties
end

Dynamic Method Handling

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