Class PLRuby::MacAddr
In: plruby.rb
Parent: Object

The class PLRuby::MacAddr implement the PostgreSQL type macaddr

Methods

<=>   from_string   new   to_s   truncate  

Included Modules

Comparable

Public Class methods

create a MacAddr from a String

Public Instance methods

comparison function for 2 MacAddr objects

return the string representation of the MAC address

return a new object with the last 3 bytes set to zero

[Validate]