Class: RubyGS::NameText

Inherits:
BinData::Primitive
  • Object
show all
Defined in:
lib/ruby_gs/structs/name_text.rb

Instance Method Summary collapse

Instance Method Details

#getObject



8
9
10
# File 'lib/ruby_gs/structs/name_text.rb', line 8

def get
  TextGS.decode self.val
end

#set(v) ⇒ Object



12
13
14
# File 'lib/ruby_gs/structs/name_text.rb', line 12

def set v
  self.val = TextGS.encode v
end