Module: ThriftClient::Simple::ComplexType::Includes

### Home Classes Methods

### In Files

- lib/thrift_client/simple.rb

### Methods

- #to_i
- #to_s

### Files

- CHANGELOG
- LICENSE
- README.rdoc

### Class/Module Index

Quicksearch

- ThriftClient
- ThriftClient::NoServersAvailable
- ThriftClient::Simple
- ThriftClient::Simple::ComplexType
- ThriftClient::Simple::ComplexType::Extends
- ThriftClient::Simple::ComplexType::Includes
- ThriftClient::Simple::Field
- ThriftClient::Simple::ThriftException
- ThriftClient::Simple::ThriftService
- ThriftClient::Simple::ThriftStruct
- ThriftClient::Simple::ThriftStruct::Extend
- ThriftClient::Simple::ThriftStruct::Include
- Thrift
- Thrift::BaseTransport
- Thrift::BufferedTransport
- Thrift::Client
- Thrift::EventMachineConnection
- Thrift::EventMachineTransport
- Thrift::FramedTransport
- Connection
- Connection::Base
- Connection::Factory
- Connection::HTTP
- Connection::Socket
- AbstractThriftClient
- AbstractThriftClient::Server

No matching classes.

# ThriftClient::Simple::ComplexType::Includes

### Public Instance Methods

to_i() click to toggle source

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

to_s() click to toggle source

    # File lib/thrift_client/simple.rb, line 48
    def to_s
      args = self.values.map { |v| self.class.type_id == STRUCT ? v.name : v.to_s }.join(", ")
      "#{self.class.name}.new(#{args})"
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.