Module: XDR::Void

Extended by:
Concerns::ConvertsToXDR
Defined in:
lib/xdr/void.rb

Class Method Summary collapse

Methods included from Concerns::ConvertsToXDR

from_xdr, read, to_xdr, valid?, write

Class Method Details

.read(io) ⇒ Object



7
8
9
# File 'lib/xdr/void.rb', line 7

def self.read(io)
  :void
end

.valid?(val) ⇒ Boolean

Returns:

  • (Boolean)


11
12
13
# File 'lib/xdr/void.rb', line 11

def self.valid?(val)
  val == :void
end

.write(val, io) ⇒ Object



4
5
# File 'lib/xdr/void.rb', line 4

def self.write(val, io)
end