[Source]
# File lib/thrift_client/simple.rb, line 44 44: def to_i 45: self.class.type_id 46: end
# File lib/thrift_client/simple.rb, line 48 48: def to_s 49: args = self.values.map { |v| self.class.type_id == STRUCT ? v.name : v.to_s }.join(", ") 50: "#{self.class.name}.new(#{args})" 51: end
[Validate]