heartcombo--simple_form/lib/simple_form/components
Dillon Welch cac943e891 Add frozen_string_literal in all .rb files
I noticed these files all had strings such as "", "  ", "_" that were
allocated each time some common methods were called, over 1000x on a
page in my app. This comment freezes all of these strings such that
they're only allocated once, saving many KB of memory allocation.
2017-11-27 17:06:18 -08:00
..
errors.rb Add frozen_string_literal in all .rb files 2017-11-27 17:06:18 -08:00
hints.rb Add frozen_string_literal in all .rb files 2017-11-27 17:06:18 -08:00
html5.rb Add frozen_string_literal in all .rb files 2017-11-27 17:06:18 -08:00
label_input.rb Add frozen_string_literal in all .rb files 2017-11-27 17:06:18 -08:00
labels.rb Add frozen_string_literal in all .rb files 2017-11-27 17:06:18 -08:00
maxlength.rb Add frozen_string_literal in all .rb files 2017-11-27 17:06:18 -08:00
min_max.rb Add frozen_string_literal in all .rb files 2017-11-27 17:06:18 -08:00
minlength.rb Add frozen_string_literal in all .rb files 2017-11-27 17:06:18 -08:00
pattern.rb Add frozen_string_literal in all .rb files 2017-11-27 17:06:18 -08:00
placeholders.rb Add frozen_string_literal in all .rb files 2017-11-27 17:06:18 -08:00
readonly.rb Add frozen_string_literal in all .rb files 2017-11-27 17:06:18 -08:00