lib/bowline/desktop/host.rb in bowline-0.5.3 vs lib/bowline/desktop/host.rb in bowline-0.5.4
- old
+ new
@@ -1,10 +1,19 @@
module Bowline
module Desktop
module Host
- # Methods
- # ip()
- # public_ip()
- # host_name()
+ ##
+ # :singleton-method: ip
+ # Returns the computer's local IP address
+
+ ##
+ # :singleton-method: public_ip
+ # Returns the computer's network IP address.
+ # This method doesn't return the computer's Internet IP,
+ # for that you need a remote server.
+
+ ##
+ # :singleton-method: host_name
+ # Returns the computer's host name
end
end
end
\ No newline at end of file