--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Creates a new ipaddr containing the given human readable form of an IP address. It also accepts `address/prefixlen' and `address/mask'. When prefixlen or mask is specified, it returns a masked ipaddr. IPv6 address may beenclosed with `[' and `]'.
- !ruby/struct:SM::Flow::P 
  body: Although an address family is determined automatically from a specified address, you can specify an address family explicitly by the optional second argument.
full_name: IPAddr::new
is_singleton: true
name: new
params: (addr = '::', family = Socket::AF_UNSPEC)
visibility: public
