lib/sxp.rb in sxp-1.1.0 vs lib/sxp.rb in sxp-1.2.0
- old
+ new
@@ -1,24 +1,9 @@
require 'rational'
require 'stringio'
-if RUBY_VERSION < '1.8.7'
- # @see http://rubygems.org/gems/backports
- begin
- require 'backports/1.8.7'
- rescue LoadError
- begin
- require 'rubygems'
- require 'backports/1.8.7'
- rescue LoadError
- abort "SXP.rb requires Ruby 1.8.7 or the Backports gem (hint: `gem install backports')."
- end
- end
-end
-
require 'sxp/version'
require 'sxp/extensions'
-require 'sxp/writer'
module SXP
autoload :Pair, 'sxp/pair'
autoload :List, 'sxp/list'
autoload :Generator, 'sxp/generator'