Class: Kut::NetList::NetListCocept
- Inherits:
-
Object
- Object
- Kut::NetList::NetListCocept
- Defined in:
- lib/kut/net_list/concept.rb
Instance Method Summary collapse
- #by_components ⇒ Object
-
#initialize(f_in) ⇒ NetListCocept
constructor
A new instance of NetListCocept.
Constructor Details
#initialize(f_in) ⇒ NetListCocept
Returns a new instance of NetListCocept.
4 5 6 |
# File 'lib/kut/net_list/concept.rb', line 4 def initialize (f_in) #read f_in by each_line end |
Instance Method Details
#by_components ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'lib/kut/net_list/concept.rb', line 8 def by_components # return array of cmp_object # where cmp_object # def reference - C15 # def value - 0.1uF # def footprint - 0805 # def nets - array of {:net => 'GND', :pin => '1' } # end |