Class: TECSGEN::Join_location
Overview
Join_location
tecscde の位置情報
Constant Summary collapse
- @@join_location_list =
[]
Instance Method Summary collapse
- #get_location ⇒ Object
-
#initialize(cp_cell_nspath, cp_name, ep_cell_path, ep_name, bar_list) ⇒ Join_location
constructor
Join_location#initialize cp_cell_nspath::NamespacePath cp_name::Symbol ep_cell_nspath::NamespacePath ep_name::Symbol bar_list::[[Symbol (VBar or HBar), Expression(position mm)], .…].
Constructor Details
#initialize(cp_cell_nspath, cp_name, ep_cell_path, ep_name, bar_list) ⇒ Join_location
Join_location#initialize
cp_cell_nspath::NamespacePath cp_name::Symbol ep_cell_nspath::NamespacePath ep_name::Symbol bar_list::[[Symbol (VBar or HBar), Expression(position mm)], .…]
101 102 103 104 105 106 107 108 109 110 |
# File 'lib/tecsgen/core/location.rb', line 101 def initialize(cp_cell_nspath, cp_name, ep_cell_path, ep_name, ) # p "Join_location #{cp_cell_nspath}, #{cp_name}, #{ep_cell_path}, #{ep_name} #{bar_list}" @cp_cell_nspath = cp_cell_nspath @cp_name = cp_name @ep_cell_path = ep_cell_path @ep_name = ep_name @bar_list = TECSGEN.new_join_location self end |
Instance Method Details
#get_location ⇒ Object
112 113 114 |
# File 'lib/tecsgen/core/location.rb', line 112 def get_location [@cp_cell_nspath, @cp_name, @ep_cell_path, @ep_name, @bar_list] end |