Class: Etherlite::Types::String
Instance Method Summary
collapse
Methods inherited from Base
#dynamic?, #fixed?, #size
Instance Method Details
#decode(_connection, _value) ⇒ Object
11
12
13
|
# File 'lib/etherlite/types/string.rb', line 11
def decode(_connection, _value)
super(_connection, _value).force_encoding("utf-8")
end
|
#encode(_value) ⇒ Object
7
8
9
|
# File 'lib/etherlite/types/string.rb', line 7
def encode(_value)
super _value.encode('UTF-8')
end
|
#signature ⇒ Object
3
4
5
|
# File 'lib/etherlite/types/string.rb', line 3
def signature
"string"
end
|