Class: TED::Spyder
- Inherits:
-
Object
- Object
- TED::Spyder
- Defined in:
- lib/ted/spyder.rb,
lib/ted/spyder/ct.rb,
lib/ted/spyder/group.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#cts ⇒ Object
readonly
An Array of CTs connected to this Spyder.
-
#groups ⇒ Object
readonly
An Array of Groups defined on this Spyder.
-
#mtu ⇒ Object
readonly
The MTU this Spyder belongs to.
Instance Method Summary collapse
-
#initialize(mtu, cts, groups) ⇒ Spyder
constructor
A new instance of Spyder.
-
#inspect ⇒ Object
:nodoc:.
Constructor Details
#initialize(mtu, cts, groups) ⇒ Spyder
Returns a new instance of Spyder.
13 14 15 |
# File 'lib/ted/spyder.rb', line 13 def initialize(mtu, cts, groups) @mtu, @cts, @groups = mtu, cts, groups end |
Instance Attribute Details
#cts ⇒ Object (readonly)
An Array of CTs connected to this Spyder
9 10 11 |
# File 'lib/ted/spyder.rb', line 9 def cts @cts end |
#groups ⇒ Object (readonly)
An Array of Groups defined on this Spyder
11 12 13 |
# File 'lib/ted/spyder.rb', line 11 def groups @groups end |
#mtu ⇒ Object (readonly)
The MTU this Spyder belongs to
7 8 9 |
# File 'lib/ted/spyder.rb', line 7 def mtu @mtu end |
Instance Method Details
#inspect ⇒ Object
:nodoc:
18 19 20 |
# File 'lib/ted/spyder.rb', line 18 def inspect "#<Ted::Spyder>" end |