Module ThriftClient::Simple::ComplexType::Includes
In: lib/thrift_client/simple.rb
lib/thrift_client/simple.rb

Methods

to_i   to_i   to_s   to_s  

Public Instance methods

[Source]

    # File lib/thrift_client/simple.rb, line 44
44:         def to_i
45:           self.class.type_id
46:         end

[Source]

    # File lib/thrift_client/simple.rb, line 44
44:         def to_i
45:           self.class.type_id
46:         end

[Source]

    # 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

[Source]

    # 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]