Method: Collins::Address#to_hash
- Defined in:
- lib/collins/address.rb
#to_hash ⇒ Object
58 59 60 61 62 63 64 65 66 67 |
# File 'lib/collins/address.rb', line 58 def to_hash { :address => @address, :gateway => @gateway, :netmask => @netmask, :pool => @pool, :is_private => is_private?, :is_public => is_public? } end |