mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* object.c (rb_mod_attr): make Module#attr to be an alias to
attr_reader. [RCR#331] * ruby.h: export classes/modules to implement sandbox. [ruby-core:08283] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b5d9cbe8e8
commit
c09cea5e1b
18 changed files with 44 additions and 41 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue