Module: Gdsii::Access::Layer
Overview
Access layer attribute
Instance Method Summary collapse
-
#layer ⇒ Object
Get the layer number (returns Fixnum).
-
#layer=(val) ⇒ Object
Set the layer number.
-
#layer_record ⇒ Object
Get the layer record (returns Record).
Instance Method Details
#layer ⇒ Object
Get the layer number (returns Fixnum)
19 |
# File 'lib/gdsii/mixins.rb', line 19 def layer() @records.get_data(GRT_LAYER); end |
#layer=(val) ⇒ Object
Set the layer number
22 |
# File 'lib/gdsii/mixins.rb', line 22 def layer=(val) @records.set(GRT_LAYER, val); end |
#layer_record ⇒ Object
Get the layer record (returns Record)
16 |
# File 'lib/gdsii/mixins.rb', line 16 def layer_record() @records.get(GRT_LAYER); end |