lib/kyototycoon/serializer.rb in kyototycoon-0.1.1 vs lib/kyototycoon/serializer.rb in kyototycoon-0.1.2
- old
+ new
@@ -1,13 +1,9 @@
# -- coding: utf-8
class KyotoTycoon
module Serializer
def self.get(adaptor)
- dir = "#{File.dirname(__FILE__)}/serializer"
- if File.exists?(File.join(dir, "#{adaptor}.rb"))
- require "#{dir}/#{adaptor}.rb"
- end
const_get(adaptor.to_s.capitalize)
end
end
end