Class: TED::Spyder

Inherits:
Object
  • Object
show all
Defined in:
lib/ted/spyder.rb,
lib/ted/spyder/ct.rb,
lib/ted/spyder/group.rb

Defined Under Namespace

Classes: CT, Group

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ctsObject (readonly)

An Array of CTs connected to this Spyder



9
10
11
# File 'lib/ted/spyder.rb', line 9

def cts
  @cts
end

#groupsObject (readonly)

An Array of Groups defined on this Spyder



11
12
13
# File 'lib/ted/spyder.rb', line 11

def groups
  @groups
end

#mtuObject (readonly)

The MTU this Spyder belongs to



7
8
9
# File 'lib/ted/spyder.rb', line 7

def mtu
  @mtu
end

Instance Method Details

#inspectObject

:nodoc:



18
19
20
# File 'lib/ted/spyder.rb', line 18

def inspect
  "#<Ted::Spyder>"
end