Class: Time
- Object
- Time
Public Visibility
Public Class Method Summary
from_9p(aStream) |
Creates a new instance of this class from the given 9P2000 byte stream and returns the instance. |
---|
Public Instance Method Summary
#to_9p |
Transforms this object into a string of 9P2000 bytes. |
---|
Public Class Method Details
from_9p
public
from_9p(aStream)
Creates a new instance of this class from the given 9P2000 byte stream and returns the instance.
[View source]
610 611 612 |
# File 'lib/rumai/ixp/message.rb', line 610 def self.from_9p aStream at aStream.read_9p(4) end |
Public Instance Method Details
to_9p
public
to_9p
Transforms this object into a string of 9P2000 bytes.
[View source]
604 605 606 |
# File 'lib/rumai/ixp/message.rb', line 604 def to_9p to_i.to_9p(4) end |