Class: IRC::Server::Links
- Inherits:
-
ThreadSafeHash
- Object
- Hash
- CaseInsensitiveHash
- ThreadSafeHash
- IRC::Server::Links
- Defined in:
- lib/failirc/server/links.rb
Instance Attribute Summary collapse
-
#server ⇒ Object
readonly
Returns the value of attribute server.
Instance Method Summary collapse
-
#initialize(server) ⇒ Links
constructor
A new instance of Links.
- #inspect ⇒ Object
Methods inherited from ThreadSafeHash
Methods inherited from CaseInsensitiveHash
Constructor Details
#initialize(server) ⇒ Links
Returns a new instance of Links.
30 31 32 33 34 |
# File 'lib/failirc/server/links.rb', line 30 def initialize (server) @server = server super() end |
Instance Attribute Details
#server ⇒ Object (readonly)
Returns the value of attribute server.
28 29 30 |
# File 'lib/failirc/server/links.rb', line 28 def server @server end |
Instance Method Details
#inspect ⇒ Object
36 37 38 39 40 41 42 43 44 |
# File 'lib/failirc/server/links.rb', line 36 def inspect result = "" each {|link| result << " #{link.inspect}" } return result[1, result.length] end |