Class: TCWrapper::IdRoot
Instance Attribute Summary
Attributes inherited from Id
Instance Method Summary (collapse)
- - (Object) get_unique_major_id(iface)
-
- (IdRoot) initialize
constructor
A new instance of IdRoot.
- - (Object) to_s
Methods inherited from Id
get_unique_major_id, #next_minor_id
Constructor Details
- (IdRoot) initialize
Returns a new instance of IdRoot
6 7 8 |
# File 'lib/distem/wrapper/tc/idroot.rb', line 6 def initialize super(1,0) end |
Instance Method Details
- (Object) get_unique_major_id(iface)
10 11 12 |
# File 'lib/distem/wrapper/tc/idroot.rb', line 10 def get_unique_major_id(iface) "1" end |
- (Object) to_s
14 15 16 |
# File 'lib/distem/wrapper/tc/idroot.rb', line 14 def to_s "root" end |