Class: FluksoLocal::FluksoCollection
- Inherits:
-
Object
- Object
- FluksoLocal::FluksoCollection
- Defined in:
- lib/msg-flukso-localinterface/discover.rb
Instance Method Summary collapse
- #addLocation(location) ⇒ Object
-
#initialize ⇒ FluksoCollection
constructor
A new instance of FluksoCollection.
- #locations ⇒ Object
Constructor Details
#initialize ⇒ FluksoCollection
Returns a new instance of FluksoCollection.
34 35 36 |
# File 'lib/msg-flukso-localinterface/discover.rb', line 34 def initialize() @locations=Array.new(); end |
Instance Method Details
#addLocation(location) ⇒ Object
40 41 42 |
# File 'lib/msg-flukso-localinterface/discover.rb', line 40 def addLocation(location) @location << location end |
#locations ⇒ Object
37 38 39 |
# File 'lib/msg-flukso-localinterface/discover.rb', line 37 def locations return @locations end |