lib/hooray/port.rb in hooray-0.0.5 vs lib/hooray/port.rb in hooray-0.0.7
- old
+ new
@@ -1,5 +1,8 @@
module Hooray
+ #
+ # Socket Port
+ #
class Port < Struct.new(:number, :protocol, :name)
def name
@name || Settings.services[number][protocol]
end
end