Class: Rumai::IXP::Struct::StringField

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

Overview

A field whose value is a string.

Instance Method Summary

Methods inherited from ClassField

#value_from_9p

Methods inherited from Field

factory, #initialize, #load_9p, #to_9p

Constructor Details

This class inherits a constructor from Rumai::IXP::Struct::Field

Instance Method Details

- (Object) value_to_9p(value)



285
286
287
# File 'lib/rumai/ixp/message.rb', line 285

def value_to_9p value
  value.to_s.to_9p
end