lib/restfulx/amf.rb in restfulx-1.3.0 vs lib/restfulx/amf.rb in restfulx-1.3.1

- old
+ new

@@ -1,14 +1,8 @@ $:.unshift(File.dirname(__FILE__)) unless $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__))) require 'amf/class_mapping' +require 'amf/pure' # implements ruby-side AMF support for RestfulX module RestfulX::AMF - ClassMapper = RestfulX::AMF::ClassMapping.new - - begin - require RestfulX.amf_serializer == :native ? 'amf/ext' : 'amf/pure' - rescue LoadError - require 'amf/pure' - end end \ No newline at end of file