lib/china_regions/engine.rb in china_regions-0.4.3 vs lib/china_regions/engine.rb in china_regions-0.4.4
- old
+ new
@@ -1,8 +1,10 @@
-require "rails"
+# frozen_string_literal: true
+require 'rails'
+
module ChinaRegions
- if ::Rails.version > "3.1"
+ if ::Rails.version > '3.1'
class Engine < ::Rails::Engine; end
else
class Railtie < ::Rails::Railtie
ActiveSupport.on_load(:action_view) do
::ActionView::Base.send :include, ChinaRegions::Helpers::FormHelper