lib/arachni/rpc/response.rb in arachni-rpc-0.1.1 vs lib/arachni/rpc/response.rb in arachni-rpc-0.1.2
- old
+ new
@@ -4,11 +4,11 @@
redistribution and commercial restrictions. Please see the Arachni-RPC
web site for more information on licensing and terms of use.
=end
-require File.join( File.expand_path( File.dirname( __FILE__ ) ), '../', 'rpc' )
+require File.join( File.expand_path( File.dirname( __FILE__ ) ), 'message' )
module Arachni
module RPC
#
@@ -23,14 +23,11 @@
# {
# # result of the RPC call
# 'obj' => object
# }
#
-# @author: Tasos "Zapotek" Laskos
-# <tasos.laskos@gmail.com>
-# <zapotek@segfault.gr>
-# @version: 0.1
+# @author: Tasos "Zapotek" Laskos <tasos.laskos@gmail.com>
#
class Response < Message
#
# Return object of the {Request#message}.
@@ -70,12 +67,10 @@
end
private
def transmit?( attr )
- ![
- :@async
- ].include?( attr )
+ ![ :@async ].include?( attr )
end
end