lib/timespan.rb in timespan-0.2.2 vs lib/timespan.rb in timespan-0.2.3

- old
+ new

@@ -6,10 +6,10 @@ require 'timespan/units' require 'timespan/compare' require 'timespan/printer' require 'timespan/span' -if defined?(Rails) && Rails::VERSION::STRING.to >= '3.1' +if defined?(Rails) && Rails::VERSION::STRING >= '3.1' require 'duration/rails/engine' end class Timespan include Span \ No newline at end of file