lib/noty-rails.rb in noty-rails-2.0.3 vs lib/noty-rails.rb in noty-rails-2.0.3.1

- old
+ new

@@ -1,11 +1,11 @@ require "noty-rails/version" module Noty module Rails - if defined?(::Rails) and ::Rails.version >= "3.1" - class Rails::Engine < ::Rails::Engine - # this class enables the asset pipeline - end - end + if defined?(::Rails) and ::Rails.version.to_s >= "3.1" + class Rails::Engine < ::Rails::Engine + # this class enables the asset pipeline + end + end end end