diff options
author | Kir Shatrov <shatrov@me.com> | 2017-07-16 20:11:16 +0300 |
---|---|---|
committer | Kir Shatrov <shatrov@me.com> | 2017-07-16 20:11:16 +0300 |
commit | d7b1521db83998fb57811ecc9d12b68e610a44bd (patch) | |
tree | 8789a99dad9b1cfbb8c7a1e58c7681f9d05df1ab /activemodel/lib/active_model/type/helpers | |
parent | 83f39a3bcf3f50d12d41bff4a110c57e2e4be605 (diff) | |
download | rails-d7b1521db83998fb57811ecc9d12b68e610a44bd.tar.gz rails-d7b1521db83998fb57811ecc9d12b68e610a44bd.tar.bz2 rails-d7b1521db83998fb57811ecc9d12b68e610a44bd.zip |
Use frozen string literal in activemodel/
Diffstat (limited to 'activemodel/lib/active_model/type/helpers')
4 files changed, 8 insertions, 0 deletions
diff --git a/activemodel/lib/active_model/type/helpers/accepts_multiparameter_time.rb b/activemodel/lib/active_model/type/helpers/accepts_multiparameter_time.rb index f783d286c5..e2a8271142 100644 --- a/activemodel/lib/active_model/type/helpers/accepts_multiparameter_time.rb +++ b/activemodel/lib/active_model/type/helpers/accepts_multiparameter_time.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module ActiveModel module Type module Helpers # :nodoc: all diff --git a/activemodel/lib/active_model/type/helpers/mutable.rb b/activemodel/lib/active_model/type/helpers/mutable.rb index f3a17a1698..1cbea644c4 100644 --- a/activemodel/lib/active_model/type/helpers/mutable.rb +++ b/activemodel/lib/active_model/type/helpers/mutable.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module ActiveModel module Type module Helpers # :nodoc: all diff --git a/activemodel/lib/active_model/type/helpers/numeric.rb b/activemodel/lib/active_model/type/helpers/numeric.rb index 275822b738..16e14f9e5f 100644 --- a/activemodel/lib/active_model/type/helpers/numeric.rb +++ b/activemodel/lib/active_model/type/helpers/numeric.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module ActiveModel module Type module Helpers # :nodoc: all diff --git a/activemodel/lib/active_model/type/helpers/time_value.rb b/activemodel/lib/active_model/type/helpers/time_value.rb index 53cf7c6029..250c4021c6 100644 --- a/activemodel/lib/active_model/type/helpers/time_value.rb +++ b/activemodel/lib/active_model/type/helpers/time_value.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "active_support/core_ext/time/zones" module ActiveModel |