Method: Jabber::Bytestreams::StreamHost#port
- Defined in:
- lib/xmpp4r/bytestreams/iq/bytestreams.rb
#port ⇒ Object
Get the port number of the streamhost
138 139 140 141 |
# File 'lib/xmpp4r/bytestreams/iq/bytestreams.rb', line 138 def port p = attributes['port'].to_i (p == 0 ? nil : p) end |