Files
n8n-openai-adapter/lib/string.ex
T
2011-01-27 08:50:52 +01:00

21 lines
236 B
Elixir

object String
def constructor(list)
{ 'list: list }
end
def +(another)
String.new([@list + another.to_list])
end
def length
Erlang.length(@list)
end
def to_list
@list
end
def to_s
self
end
end