lib/culerity/celerity_server.rb in fletcherm-culerity-0.2.8 vs lib/culerity/celerity_server.rb in fletcherm-culerity-0.2.9
- old
+ new
@@ -62,10 +62,10 @@
end
def proxify(result)
if result.is_a?(Array)
"[" + result.map {|x| proxify(x) }.join(", ") + "]"
- elsif [String, TrueClass, FalseClass, Fixnum, Float, NilClass].include?(result.class)
+ elsif [Symbol, String, TrueClass, FalseClass, Fixnum, Float, NilClass].include?(result.class)
result.inspect
else
@proxies[result.object_id] = result
"Culerity::RemoteObjectProxy.new(#{result.object_id}, @io)"
end