Sha256: 557a509f25043b45c5d315e08ac43d0762bf65a1f6cc774cee13ed265249e283

Contents?: true

Size: 880 Bytes

Versions: 2

Compression:

Stored size: 880 Bytes

Contents

# encoding: utf-8
# (c) 2012 Martin Kozák (martinkozak@martinkozak.net)

require "qrpc/general"
require "qrpc/protocol/abstract/error"

##
# General QRPC module.
#

module QRPC
    
    ##
    # Protocols helper module.
    # @since 0.9.0
    #
    
    module Protocol

        ##
        # Object protocol implementation.
        # @since 0.9.0
        #
        
        class Object
        
            ##
            # Object error implementation.
            # @since 0.9.0
            #
            
            class Error < QRPC::Protocol::Abstract::Error
                
                ##
                # Serializes object to the resultant form.
                # @return [Error]  serialized form
                #
                
                def serialize
                    self
                end
                
            end
        end
    end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
qrpc-0.9.1 lib/qrpc/protocol/object/error.rb
qrpc-0.9.0 lib/qrpc/protocol/object/error.rb