Class: NFS::XDR::Boolean

Inherits:
Enumeration show all
Defined in:
lib/nfs/xdr.rb

Instance Method Summary collapse

Methods inherited from Enumeration

#decode, #encode, #name

Methods inherited from SignedInteger

#decode, #encode

Constructor Details

#initializeBoolean

Returns a new instance of Boolean.



60
61
62
63
64
65
# File 'lib/nfs/xdr.rb', line 60

def initialize
  super

  name :TRUE, 1
  name :FALSE, 0
end