Class: Rex::Proto::Thrift::ThriftString

Inherits:
BinData::Primitive
  • Object
show all
Defined in:
lib/rex/proto/thrift.rb

Instance Method Summary collapse

Instance Method Details

#getObject



51
52
53
# File 'lib/rex/proto/thrift.rb', line 51

def get
  self.data.to_s
end

#set(v) ⇒ Object



55
56
57
# File 'lib/rex/proto/thrift.rb', line 55

def set(v)
  self.data = v
end