Class: Time

Inherits:
Object show all
Defined in:
lib/rumai/ixp/message.rb

Class Method Summary

Instance Method Summary

Class Method Details

+ (Object) from_9p(stream)

Creates a new instance of this class from the given 9P2000 byte stream and returns the instance.



710
711
712
# File 'lib/rumai/ixp/message.rb', line 710

def self.from_9p stream
  at stream.read_9p(4)
end

Instance Method Details

- (Object) to_9p

Transforms this object into a string of 9P2000 bytes.



702
703
704
# File 'lib/rumai/ixp/message.rb', line 702

def to_9p
  to_i.to_9p(4)
end