Parent

Methods

Class Index [+]

Quicksearch

Cucumber::WireSupport::WireException

Proxy for an exception that occured at the remote end of the wire

Public Class Methods

new(args, host, port) click to toggle source
    # File lib/cucumber/wire_support/wire_exception.rb, line 12
12:       def initialize(args, host, port)
13:         super args['message']
14:         if args['exception']
15:           self.class.extend(CanSetName)
16:           self.class.exception_name = "#{args['exception']} from #{host}:#{port}"
17:         end
18:         if args['backtrace']
19:           @backtrace = if args['backtrace'].is_a?(String)
20:               args['backtrace'].split("\n") # TODO: change cuke4nuke to pass an array instead of a big string
21:             else
22:               args['backtrace']
23:             end
24:         end
25:       end

Public Instance Methods

backtrace() click to toggle source
    # File lib/cucumber/wire_support/wire_exception.rb, line 27
27:       def backtrace
28:         @backtrace || super
29:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.