summaryrefslogtreecommitdiff
path: root/lib/ipaddr.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ipaddr.rb')
-rw-r--r--lib/ipaddr.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ipaddr.rb b/lib/ipaddr.rb
index ea26b374ec..4decab54aa 100644
--- a/lib/ipaddr.rb
+++ b/lib/ipaddr.rb
@@ -84,7 +84,7 @@ class IPAddr
IN6FORMAT = (["%.4x"] * 8).join(':')
# Returns the address family of this IP address.
- attr :family
+ attr_reader :family
# Creates a new ipaddr containing the given network byte ordered
# string form of an IP address.