Sha256: 012716eb1cc7fd72af571e17414250e04dabb08ae5164c8fa584f03f30729822
Contents?: true
Size: 704 Bytes
Versions: 5
Compression:
Stored size: 704 Bytes
Contents
require 'rubygems' require 'debug_helper' $: << File.expand_path('../../lib', __FILE__) require 'asir' module ASIR module Test class TestError < ::Exception; end class TestObject include ASIR::Client attr_accessor :spec, :arg, :cls, :msg, :transport, :message def initialize spec @spec = spec end def get_data! @transport = ASIR::Transport.current @message = @transport && @transport.message end def return_argument arg get_data! @arg = arg arg end def raise_exception! cls, msg get_data! @cls = cls @msg = msg raise cls, msg end end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
asir-1.0.7 | spec/spec_helper.rb |
asir-1.0.6 | spec/spec_helper.rb |
asir-1.0.5 | spec/spec_helper.rb |
asir-1.0.4 | spec/spec_helper.rb |
asir-1.0.1 | spec/spec_helper.rb |